-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Description of the bug/issue
My tests were working fine with version <= v2.3.9 for the method moveTo() which accepts elementId
as a param and offset as optional.
await browser.moveTo(elementId); // no offset is provided and it still works with above version
After the fix in v2.4.0 #3427 for #3404 issue, my tests started failing as offset
params are mandatory here
await browser.moveTo(elementId); // no offset is provided and it started failing with "Invalid Parameters for moveTo Command"
Steps to reproduce
Run tests with moveTo()
command with just elementId
as param in versions v2.3.9 and v2.4.0
Nightwatch.js Version
2.4.0
Node Version
14.0.0
Browser
Chrome 107