Skip to content
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

tests: Disable GPU for Chrome tests #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

andrewnicols
Copy link
Contributor

Disabling the GPU helps prevent rendering timeouts and fixes #21.

The default capability for Chrome is the ChromeOptions::CAPABILITY and
this is converted to CAPABILITY::CAPABILITY_W3C in `toArray()` as
required.

Use of the W3C variant in this manner was causing all arguments and
driver options to be entirely discarded, preventing use of headless
browsers.
Disabling the GPU helps prevent rendering timeouts and fixes oleg-andreyev#21.
@andrewnicols
Copy link
Contributor Author

Blocked by #20.

@oleg-andreyev
Copy link
Owner

Ref.: php-webdriver/php-webdriver#852

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add --no-gpu option for Chrome
2 participants