Skip to content

Fix selenium can't find FireFox driver #104

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

Merged
merged 2 commits into from
Aug 9, 2023

Conversation

ryanking13
Copy link
Member

This fixes a regression introduced in Selenium 4.11.

From Selenium 4.11, if we pass a binary name to Service, it will not search the binary from PATH, but it will use it as a relative path and search the binary from cwd instead (I think it is a bug).

This PR fixes it by not passing the binary name, so that letting selenium locate the binary from PATH.

Related PR: SeleniumHQ/selenium#12356

@ryanking13 ryanking13 merged commit 57dafeb into pyodide:main Aug 9, 2023
@ryanking13 ryanking13 deleted the firefox-path branch August 9, 2023 13:40
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.

1 participant