-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Disable Chrome's GPU support in BrowserWebDriverContainer
#4315
Conversation
BaseWebDriverContainerTest
BrowserWebDriverContainer
I added a very specific hack for the current Selenium web driver version in combination with Chrome into Of course, we can try to be even more specific in checking for the need for this hack, but so far, this is my first try, considering that Selenium have updated their existing tags. |
BrowserWebDriverContainer
BrowserWebDriverContainer
modules/selenium/src/main/java/org/testcontainers/containers/BrowserWebDriverContainer.java
Outdated
Show resolved
Hide resolved
BrowserWebDriverContainer
BrowserWebDriverContainer
For documentation's sake, this seems to be the corresponding Chromium issue. |
Yesterday's release of docker-selenium
3.141.59-20210729
seems to fail to start under different circumstances and in different environments.A potential fix is setting
--disable-gpu
in theChromeOptions
.It is not yet clear what is the root cause of this issue (the update to Chrome 92?), but other users of docker-selenium report issues as well:
SeleniumHQ/docker-selenium#1346
This PR shall act as a way to further debug this issue in GitHub Actions and to discuss potential workarounds on our side.