Skip to content

Fix intermittent Selenium::WebDriver::Error::UnknownError - #329

Merged
lfdebrux merged 2 commits into
mainfrom
ldeb-fix-capybara-selenium-intermittent-error
Aug 27, 2026
Merged

Fix intermittent Selenium::WebDriver::Error::UnknownError#329
lfdebrux merged 2 commits into
mainfrom
ldeb-fix-capybara-selenium-intermittent-error

Conversation

@lfdebrux

Copy link
Copy Markdown
Contributor

What problem does this pull request solve?

Copy the fix from govuk-forms/forms-admin#3008 to this repo and remove the monkeypatch workaround.

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Has all relevant documentation been updated?

Add the 'disable-features=DeferRendererTasksAfterInput' flag, which
resolves a longstanding issue with Selenium throwing intermittent errors
(teamcapybara/capybara#2800)
This patch is no longer needed as the
`disable-features=DeferRendererTasksAfterInput` flag resolves the issue
this is patching.
@lfdebrux
lfdebrux added this pull request to the merge queue Aug 27, 2026
Merged via the queue into main with commit 2ddbaa1 Aug 27, 2026
3 checks passed
@lfdebrux
lfdebrux deleted the ldeb-fix-capybara-selenium-intermittent-error branch August 27, 2026 13:27
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