You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running tests through Selenium server (both for Chrome and Firefox browsers), and in my scenario I need to switch windows. This command works in Chrome (still using JSON Wire protocol), but fails in FireFox that is using WebDriver protocol, logs:
WebDriver expects handle parameter to be present, but name parameter is used instead.
The logs are with Nightwatch version 0.9.19, but it has also been tested with 1.0.8.
This issue is related to Nightwatch conformance with W3C WebDriver standard, and also raised here #1456
Issue can be avoided by downgrading to Selenium 3.8.1 and disabling passthrough mode that translates JSON Wire to WebDriver. This option was removed with Selenium 3.9.0, so this option is no longer possible with newer Selenium versions (Selenium Changelog), which in turn raises new issues with not being able to use latest Selenium versions.
Sidenote: I also noticed that getLog command will not work with WebDriver protocol since such command is not included in the standard.
The text was updated successfully, but these errors were encountered:
I am running tests through Selenium server (both for Chrome and Firefox browsers), and in my scenario I need to switch windows. This command works in Chrome (still using JSON Wire protocol), but fails in FireFox that is using WebDriver protocol, logs:
WebDriver expects
handle
parameter to be present, butname
parameter is used instead.The logs are with Nightwatch version 0.9.19, but it has also been tested with 1.0.8.
This issue is related to Nightwatch conformance with W3C WebDriver standard, and also raised here #1456
Issue can be avoided by downgrading to Selenium 3.8.1 and disabling passthrough mode that translates JSON Wire to WebDriver. This option was removed with Selenium 3.9.0, so this option is no longer possible with newer Selenium versions (Selenium Changelog), which in turn raises new issues with not being able to use latest Selenium versions.
Sidenote: I also noticed that
getLog
command will not work with WebDriver protocol since such command is not included in the standard.The text was updated successfully, but these errors were encountered: