-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Headless mode is not working for WebDriverIO #3930
Labels
Comments
sheremet-va
added
bug
feat: browser
Issues and PRs related to the browser runner
and removed
pending triage
labels
Aug 11, 2023
My CI is failing with the same issue - webdriverio now attempts to start graphical chrome in a headless environment. Perhaps webdriverio should have bumped a major with a breaking change like that? |
6 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
The current code for setting the headless option for WebDriverIO is not working, i.e. the option is ignored and browser still opens:
Based on current WebDriverIO documentation, it is now dependent on the browser selected. For example, for Chrome, it should be
I verified by modifying the code in the node_module/vitest/dist/vendor-node.caa511fc.js of my project and it works after the change.
Reproduction
None
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: