-
-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support spawnOpts for geckodriver child process #552
feat: support spawnOpts for geckodriver child process #552
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we document the new user parameter? Maybe including an example as well?
893750d
to
ec9e561
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff, LGTM 👍
awesome I will get the docs updated then we should be good to go! |
docs updated @christian-bromann . Thank you for the really fast review on this! |
3edaf8e
into
webdriverio-community:main
Hey AtofStryker 👋 Thank you for your contribution to WebdriverIO! Your pull request has been marked as an "Expensable" contribution. We've sent you an email with further instructions on how to claim your expenses from our development fund. We are looking forward to more contributions from you in the future 🙌 Have a nice day, |
I am currently migrating Cypress to use
webdriver
andgeckodriver
for our firefox automation. We have the needs to propagate some environment variables to the geckodriver process (better outlined in this bugzilla comment), which we are patching this package to accomplish now. This PR is to move this patch upstream as a contribution.In order to propagate environment variables to the firefox process started with
geckodriver
, the environment variables need to be passed to thegeckodriver
process directly in order to be passed tofirefox
. This is important for settingMOZ_
prefixed variables, likeMOZ_HEADLESS_HEIGHT
orMOZ_HEADLESS_WIDTH
. This PR allows spawn options to be passed into the geckodriver process.