Skip to content

Fix the headless mode used by Selenium#9734

Closed
night-jellyfish wants to merge 3 commits intomainfrom
brittany/fix-selenium-issue
Closed

Fix the headless mode used by Selenium#9734
night-jellyfish wants to merge 3 commits intomainfrom
brittany/fix-selenium-issue

Conversation

@night-jellyfish
Copy link
Contributor

🛠 Summary of changes

Changes the headless mode used by Selenium.

See this documentation for details on the change and this conversation in Slack for discussion.

Copy link
Contributor

@aduth aduth left a comment

Choose a reason for hiding this comment

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

LGTM assuming CI is happy with it 👍

@night-jellyfish night-jellyfish force-pushed the brittany/fix-selenium-issue branch from 52be51a to 72d7145 Compare December 8, 2023 23:37
Copy link
Contributor

Choose a reason for hiding this comment

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

we'll have to update gitlab-ci.yml with the updated image

@night-jellyfish night-jellyfish force-pushed the brittany/fix-selenium-issue branch 4 times, most recently from a875869 to 134b1e4 Compare December 13, 2023 21:30
Brittany Greaner and others added 3 commits December 13, 2023 16:36
[See this documentation for details on the change](https://www.selenium.dev/blog/2023/headless-is-going-away/) and
[this conversation in Slack for discussion](https://gsa-tts.slack.com/archives/C0NGESUN5/p1702068737905679).

(note: we found we had to make an adjustment for CI in the following
commit. The hope is that we can come back to this in the future.)

Co-authored-by: Andrew Duthie <andrew.duthie@gsa.gov>
See [this Slack thread](https://gsa-tts.slack.com/archives/C0NGESUN5/p1702323692159879?thread_ts=1702068737.905679&cid=C0NGESUN5) for more details.

Co-authored-by: Mitchell Henke <mitchell.henke@gsa.gov>
@night-jellyfish night-jellyfish force-pushed the brittany/fix-selenium-issue branch from 134b1e4 to 66227ea Compare December 14, 2023 00:36
night-jellyfish pushed a commit that referenced this pull request Dec 14, 2023
This fixes local dev for Chromedriver v120. We found that upgrading
Chromedriver to v120 in Docker for CI caused all sorts of issues, so for
the time being we are not upgrading CI.

This is a workaround from the failures in #9734.

[See this documentation for details on the change](https://www.selenium.dev/blog/2023/headless-is-going-away/),
[this conversation in Slack for discussion](https://gsa-tts.slack.com/archives/C0NGESUN5/p1702068737905679),
and [this issue on Chromedriver](https://bugs.chromium.org/p/chromedriver/issues/detail?id=4440).
@night-jellyfish
Copy link
Contributor Author

Even though this eventually passed, it failed several times (only passing 2 / 14 CI runs). Closing this PR in favor of #9767.

The changes here might eventually be needed to upgrade Chromedriver in CI, but that doesn't work currently.

night-jellyfish added a commit that referenced this pull request Dec 15, 2023
* changelog: Internal, Local setup, Fix headless mode used by Selenium locally

This fixes local dev for Chromedriver v120. We found that upgrading
Chromedriver to v120 in Docker for CI caused all sorts of issues, so for
the time being we are not upgrading CI.

This is a workaround from the failures in #9734.

[See this documentation for details on the change](https://www.selenium.dev/blog/2023/headless-is-going-away/),
[this conversation in Slack for discussion](https://gsa-tts.slack.com/archives/C0NGESUN5/p1702068737905679),
and [this issue on Chromedriver](https://bugs.chromium.org/p/chromedriver/issues/detail?id=4440).
@night-jellyfish night-jellyfish deleted the brittany/fix-selenium-issue branch December 19, 2023 22:11
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.

3 participants