Doubt in Module 15 under class MouseMoments | Selenium Forum
M
Posted on 11/12/2016
Good Morning Ashish

I am getting following Issue while executing the MouseMoments class. Ultimately Mouse is not moving to Golf Clubs tabs.
I am getting this Issue under all three browser (Mozilla,IE and Chrome).

It's looks like there are some Issue with Actions Class

Request you please help me to resolve this Issue.



1481429025633 geckodriver INFO Listening on 127.0.0.1:28254
Dec 10, 2016 9:03:46 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Attempting bi-dialect session, assuming Postel's Law holds true on the remote end
1481429026349 mozprofile::profile INFO Using profile path C:\Users\524528\AppData\Local\Temp\rust_mozprofile.KYvewqvW0EjS
1481429026350 geckodriver::marionette INFO Starting browser C:\Program Files (x86)\Mozilla Firefox\firefox.exe
1481429026678 geckodriver::marionette INFO Connecting to Marionette on localhost:64045
1481429034275 Marionette INFO Listening on port 64045
1481429042187 Marionette INFO startBrowser 066fec5b-9dd9-4b22-840f-8ef0c653c866
Dec 10, 2016 9:04:04 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C
JavaScript error: chrome://marionette/content/proxy.js, line 187: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIMessageSender.sendAsyncMessage]
Exception in thread "main" org.openqa.selenium.UnsupportedCommandException: POST /session/066fec5b-9dd9-4b22-840f-8ef0c653c866/moveto did not match a known command
Build info: version: 'unknown', revision: '1969d75', time: '2016-10-18 09:43:45 -0700'
System info: host: '02HW020869', ip: '169.254.63.30', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_101'
Driver info: org.openqa.selenium.firefox.FirefoxDriver
Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], prefs={}}, appBuildId=20160922113459, version=, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=15424, browserVersion=49.0.1, platformVersion=6.1, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=windows_nt, device=desktop}]
Session ID: 066fec5b-9dd9-4b22-840f-8ef0c653c866
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:127)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:93)
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:42)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:163)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:82)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at org.openqa.selenium.remote.RemoteExecuteMethod.execute(RemoteExecuteMethod.java:35)
at org.openqa.selenium.remote.RemoteMouse.mouseMove(RemoteMouse.java:89)
at org.openqa.selenium.interactions.MoveMouseAction.perform(MoveMouseAction.java:39)
at org.openqa.selenium.interactions.CompositeAction.perform(CompositeAction.java:50)
at MouseMovements.main(MouseMovements.java:31)

M
Replied on 13/12/2016

Please use selenium 2.53
Its stable
3.x is unstable as of now