Closed
Description
Not sure how best to investigate this or if this is even a pytest selenium problem.
On Windows 10.
I have a pytest.ini file
[pytest]
addopts = --variables=variables.json
If I run the following (with chromedriver available on the path):
$ py.test --base-url www.google.com --driver Chrome
Then the variables.json
is picked up correctly.
However, if I run the following:
$ py.test --base-url www.google.com --driver Chrome --driver-path ..\..\..\WebDrivers\chromedriver.exe
Then variables.json
is not picked up for the variables option.
Finally though, if I add --variables variables.json
into the call then it does work:
$ py.test --base-url www.google.com --driver Chrome --driver-path ..\..\..\WebDrivers\chromedriver.exe --variables variables.json
Metadata
Metadata
Assignees
Labels
No labels