0

I am writing an automation framework and wondering how to create environment properties file like Java.

I know wdio.config.js is the place where we hold baseURL and other stuff. Say I would like to create new placeholders like "Login" which accepts string or "username" which is a string as well. How can I implement that?

jonrsharpe
  • 99,167
  • 19
  • 183
  • 334
ChanChow
  • 1,218
  • 6
  • 24
  • 52

1 Answers1

0

Just adding Login: "loginuser" or password: "password" in wdio.config.js worked. These are accessible using browser.config.loginuser or browser.config.password

ChanChow
  • 1,218
  • 6
  • 24
  • 52