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

Use old headless mode in Chrome browser #210

Merged
merged 2 commits into from
Sep 30, 2024
Merged

Conversation

replaceafill
Copy link
Contributor

@replaceafill replaceafill commented Sep 28, 2024

Google Chrome and Chromedriver v129 broke headless mode in Selenium's webdriver.

This sets the old mode in Chrome until a fix in either project is released. It also sets environment variables in the Docker stage to prevent Selenium from downloading the browsers on its first run, and instead to reuse the ones set during the Docker build.

This sets the environment variables necessary to tell Selenium to
reuse the browsers set up in the Dockerfile instead of downloading
them on its own.
See issue #14154 on the SeleniumHQ/selenium repo.
@replaceafill replaceafill requested a review from a team September 28, 2024 16:09
Copy link
Contributor

@Dhwaniartefact Dhwaniartefact left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@replaceafill replaceafill merged commit b150e1b into qa/1.x Sep 30, 2024
11 checks passed
@replaceafill replaceafill deleted the dev/fix-amauats-ci branch September 30, 2024 20:51
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.

2 participants