Closed HarlowCS closed 5 years ago
Have a look at the release notes.
You need to set w3c: false
:
chromeOptions: {
w3c: false
}
Also, looking at your config, there's no reason why you should be using Selenium if you are only using ChromeDriver.
@beatfactor Mind pointing me to an example that uses just ChromeDriver without Selenium?
Sure, it's on our website: https://nightwatchjs.org/gettingstarted#browser-drivers-setup. Let me know if something is unclear.
You can also check out our sample tests project: https://github.com/nightwatchjs/nightwatch-website-tests.
@beatfactor
Just a question based on this conversation. There is not visibility check anymore in the W3C specs, they removed the endpoint and so did Chrome + Safari + Edge. You are now referring to fall back to the JSONWP for Chrome. Does that mean that mean that NightwatchJS is not supporting W3C?
Because from what I've seen in the documentation NightwatchJS can only send the desiredCapabilities
(which is JSONWP) and not the capabilities
(which is W3C), see https://www.w3.org/TR/webdriver1/#processing-capabilities
Looks like upgrading to Chromedriver
75.0.0
and Nightwatch1.1.12
has caused every single test I have in all my suites to start returning the below error:I tried running a test with a single
waitForElementVisible()
and got tons of that error so I assume it definitely has something to do with that orisElementDisplayed()
Config: