OS:
Windows7, Mac OS Sierra 10.12.5
Selenium Version:
js binding [email protected]
Browser:
Firefox 54.0
Driverr:
[email protected]
No error. Mouse pointer should be moved to an element.
(node:14196) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): UnknownCommandError: POST /session/b19beeda-ee16-48f7-b6d4-f3e8ab51e4a9/moveto did not match a known command
(node:14196) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
driver.actions()
.mouseMove(driver.findElement(wd.By.css('.{className}')))
.perform()
duplicate of #3808
@AutomatedTester why is it duplicate of https://github.com/SeleniumHQ/selenium/issues/3808?
My issue doesn't relate to grid.
Actually a duplicate of #3693
Not a duplicate. Did you just pick random issues out of a hat?
@jpope19 Do you have any reason to hijack an issue closed a year ago without providing any additional information?
I'm coming across the same issue as @zenonwch and read through the "related" issues and it ended up just being a waste of 20 minutes. I'm new to the node.js library for selenium. I'm submitting a form and testing the redirect to a new page. Any suggestions?
let email = await driver.findElement(By.id('email')).sendKeys('un');
let pw = await driver.findElement(By.id('pass')).sendKeys('pw');
let form = await driver.findElement(By.id('login_form'));
await form.submit();
gives the following error:
{ UnknownCommandError: POST /session/2c5e7b2c-8f94-495e-b593-87ed223b771a/element/5c6fd2f7-c8e8-4a65-9bc4-6cbda6
536ec1/submit did not match a known command
at Object.throwDecodedError (D:\projects\arg-marnode_modules\selenium-webdriver\lib\error.js:550:15)
at parseHttpResponse (D:\projects\arg-marnode_modules\selenium-webdriver\lib\http.js:542:13)
at Executor.execute (D:\projects\arg-marnode_modules\selenium-webdriver\lib\http.js:468:26)
at
at process._tickCallback (internal/process/next_tick.js:188:7) name: 'UnknownCommandError', remoteStacktrace
: '' }
@jpope19 Please open a new issue, and provide information about selenium library version, driver version, and a reproduction scenario.
Most helpful comment
Not a duplicate. Did you just pick random issues out of a hat?