Jenkins download path #227
mwonderful-idbydna
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Is this only for Chrome and Jenkins or does this work for other browsers too? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! Apologies for not doing diligence if this has been already suggested.
Jenkins needs a download path relative to the build directory but Chrome ignores relative paths. This gets set in pylenium.json:
"experimental_options": [ {"prefs": {"download.default_directory": "downloads" }} ],
Chrome ignores relative paths. Therefore we added a function in conftest.py to prepend the current working directory to the relative path so each Jenkins plan uses a directory relative to that build directory. Add a call this function in py_config inside conftest.py to set a build specific downloadd path.
`
`
Beta Was this translation helpful? Give feedback.
All reactions