WDIO Config file #102
bajipogadadanda
started this conversation in
General
Replies: 2 comments 10 replies
|
It is not recommended to store arbitrary data in the WebdriverIO config. Use a different file for this. |
6 replies
|
Yes Chris. I did. Config file: before: function (capabilities, specs) { Spec file: }); |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I need to define custom properties in wdio.confg file(ex:apmurl along with BaseURL), I need to get it in the Test case definition.
would that be possible?
here is the actual requirement.
1.I need to define JS object, also other properties as below and need to get it for various spec files.
exports.config = {
testURL:'https://webdriver.io/',
params: {
A: 'OFF',
B: 2000,
C:'testDataEnv'
},
}
I read that it was possible prior WDIO 8 version.
Pls let me know how can it be attained for latest version also.
All reactions