-
Notifications
You must be signed in to change notification settings - Fork 2.3k
UnsupportedOperationError: mouseMoveTo in Firefox #4177
Comments
Can you share an example test that generates this error? |
I'm having the same issue, has there been any progress made on this issue? |
Pinging @NickTomlin The code that generated this result, on my machine, is as follows:
This throws the following error in the terminal: "UnsupportedOperationError: mouseMoveTo" |
I've been having the exact same problem. It's hindering a lot of my tests in Firefox at the moment. |
I have been facing the same issues with my setup, anyone having any workaround for the same? I tried firefox 45, 45.0.1 and 46 as well, but all of them are giving the same error. @juliemr your help would be appreciated. |
Yes, for me just ordinal mouseMove generated this issue to. No workarounds, just switched to Chrome, where everything works OK. |
I tried checking the actions related function in the repository but did not find anything, found a mention related to mouseMove changes but I am not sure what they are.. http://selenium.10932.n7.nabble.com/geckodriver-0-15-0-released-td55613.html |
geckodriver support for mouse actions is still new (see mozilla/geckodriver#159). If you're on the latest geckodriver (0.15) it should work maybe? It looks like 0.16 will have some fixes. Firefox versions less than 52 will not work with Protractor 5 or higher. Mozilla completely redid their automation for Selenium 3. There's no looking back! |
Hi, selenium has confirmed that they fixed this issue. I updated to new version of selenium, gecko driver and firefox but i still get - Failed: mouseMoveTo |
Hi, I tried using the combination of FF version 53, 54 and 55. Geckodriver version 0.15.0, 0.16.1, 0.17.0 and o.18.0, Also selenium server version 3.4.0, 3.3.1, 3.0.1 and 2.53.1. But still seeing issues on mouseMove. Can someone please help? Failed: mouseMoveTo |
@tamilranj I'm pretty sure that the mouseMove issue (and other related issues) are still present. The issues have been resolved on the Geckodriver side (from what I understand), but now there is an issue with Selenium Server itself, primarily (if not exclusively) related to the standalone version. You can learn more by checking out the comments on this issue: SeleniumHQ/selenium#3693 Apparently all will finally be resolved in SS 3.5; but there is no word of when the release will be, other than "soon". :) |
I believe the mouseMove issue is still present in Selenium 3.5.1. I found a work around:
I'm surprised because firefox is running test cases faster this way, and no more mouseMove errors. |
@tienvx I vote against turning Marionette off, since WebDriver (the W3C) version is the future and you should, where possible, not rely on the old JSONWP protocol. |
Thanks for the information @timbru31 . This is just a work around. I'll revert when the real bug is fixed :) |
Crossref to #4451 - this should hopefully fix this issue by using a more recent version of selenium-webdriver. |
when will this fix be available? I'm using selenium 3.5.3 & geckodriver v0.19.0 and it still occurs for me. |
I am also getting this error using Selenium 3.5.3 & Geckodrive v0.19.0 with Firefox 55. (node:13790) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): UnsupportedOperationError: mouseMoveTo (node:13790) [DEP0018] 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.
|
any luck here? We are still stuck on old version of selenium due to this mouseMoveTo error. |
This issue resolved for me with the following: Selenium 3.8.1 |
@Smolations I am using protractor 5.2.2 and webdriver-manager (12.0.6) |
Issue still exists on Which file (Selenium jar or geckodriver exe) has got the Action class implementation ? |
Maybe issue fixed on Selenium 4.0.0-alpha.1... can I use this version in a protractor? |
You can try it with resolutions, which you can add to "package.json" like this:
but you'll need to have a node version 8 or 9, I think. So if you are still with NodeJS version 6, no chance until they adapt this changes in Protractor itself. |
Hi! I had the same issues with mouseMove, mouseDown, and dragAndDrop Actions class functions. My solution is protractor-firefox-support. Please take a look at #4687 for issue description. |
Am glad that it's working using protractor. Is there any solution for csharp /java platforms or am i missing something? |
@apodznoev afaik this requires yarn.. And there isn't any way to mimic this behaviour using npm. Would selenium-webdriver version have an effect on the outcome when using directConnect or does it only use geckodriver when directConnect is set to true? |
please do something for this issue. |
Is there ant fix available for mouseMoveTo for selenium remote grid and not standalone? |
This is a critical issue that needs fixed. Any updates on this? Any work-arounds? |
Yes, due to some reasons I also need to switch to Firefox and this issue is blocking our team. Please proceed with its resolution. We will keep looking at authentic way arounds but we really look forward for its fix. |
Any update with this ticket? Only occurs for me when using selenium-grid with firefox-node, standalone works fine |
Any update with this ticket?
|
Any update with this ticket? |
Thanks for the contribution on a workaround for this years-long-unsolved issue. However I couldn't get protractor-firefox-support working on FF 64.0.2 with selenium-server 3.4.0 and Protractor 5.4.1. |
@andrewchan-clover , could you please provide your config file and test example? |
For anyone who's currently struggling with this issue, I've just learned that the problem can be worked around by using selenium webdriver as an intermediary between protractor and Firefox. Running protractor against Firefox directly won't work, even if you use protractor-firefox-support |
@EoinGriffin-AI , I use |
@IgorSasovets That's great that it works for you. I tried it yesterday with the latest protractor-firefox-support and the latest Firefox and it didn't help with the mouseMove() problem I was running into. |
I'm using the latest Protractor, with Firefox 52.0.1
Stack:
UnsupportedOperationError: mouseMoveTo
Build info: version: '3.3.1', revision: '5234b32', time: '2017-03-10 09:04:52 -0800'
System info: host: 'Oleksandr-Zinevych.local', ip: '192.168.0.102', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.12.3', java.version: '1.8.0_101'
Driver info: driver.version: RemoteWebDriver
Are there any workaround for this?
The text was updated successfully, but these errors were encountered: