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

Chromedriver incompatibility since version 91? #340

Open
ghost opened this issue Oct 7, 2021 · 2 comments
Open

Chromedriver incompatibility since version 91? #340

ghost opened this issue Oct 7, 2021 · 2 comments

Comments

@ghost
Copy link

ghost commented Oct 7, 2021

Anyone else experiencing this?

javascript error: arguments[0].getAttribute is not a function (Session info: chrome=94.0.4606.54)

https://bugs.chromium.org/p/chromedriver/issues/detail?id=3746#c7

Rolling back to 90 makes it functional again. But maybe we can solve this here as well for >=91 versions?

$script = str_replace('{{ELEMENT}}', 'arguments[0]', $script);

@aik099
Copy link
Member

aik099 commented Oct 9, 2021

@verbruggenalex,

Option A: You need to report this to the ChromeDriver repository. Once they fix this you're good to go.

Option B: If you know how to fix driver code to work (without adding any BC breaks) then PR is welcome. But I'd rather stick with "Option A".

@andrewnicols
Copy link

Or option C) Switch to the newer MinkPhpWebDriver which uses the actively maintained php-webdriver/webdriver package: https://github.com/oleg-andreyev/MinkPhpWebDriver

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

No branches or pull requests

2 participants