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

SwitchToFrame ERROR with chromedriver 75 and Nightwatch 0.9.21 #2135

Closed
jiri-skrivanek opened this issue Jun 19, 2019 · 1 comment
Closed

Comments

@jiri-skrivanek
Copy link

With upgrade to chrome 75.0.3770.100 and chromedriver 75.0.3770.90 we started to get an error:

RESPONSE SwitchToFrame ERROR invalid argument: 'id' can not be string

I noticed workaround in bug #2118. If I set w3c=false it works. Can it be fixed in Nightwatch 0.9 or what is the permanent solution? Thanks.

@vlad-vinogradov
Copy link

chromedriver >= 75 works in w3c-mode by default, but Nightwatch 0.9.21 works with chromedriver in legacy JsonWire mode by default. So, they don't understand each other.

For chromedriver 75 use w3c:false.

For chromedriver >= 76 you can also use webdriver: { use_legacy_jsonwire: false }
(#2118: ... chromedriver 76.0.3809.25 and beyond will accept Is Displayed command in both W3C and OSS modes)

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

3 participants