python - Selenium remoteWebDriver (& SauceLabs) Firefox moseMoveTo action exception -


while performing simple hover test on firefox through selenium (3.4.0) python bindings (3.4.3) using of available os in saucelabs (except linux, latest available firefox version old), performing following actionchain:

hover = actionchains(driver) hover.move_to_element(elm_men_menu).perform() 

it throws following error:

taceback:

file [...] in testhover hover.perform() file "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/action_chains.py", line 80, in perform action() file "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/common/action_chains.py", line 290, in <lambda>                                                                                                               command.move_to, {'element': to_element.id})) file "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 256, in execute self.error_handler.check_response(response) file "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 194, in check_response raise exception_class(message, screen, stacktrace) webdriverexception: message: mousemoveto build info: version: '3.4.0', revision: 'unknown', time: 'unknown' system info: host: 'itako44164.prod.miso', ip: '[...]', os.name: 'mac os x', os.arch: 'x86_64', os.version: '10.12.1', java.version: '1.8.0_112' driver info: driver.version: remotewebdriver stacktrace: @ org.openqa.selenium.remote.http.abstracthttpcommandcodec.encode (abstracthttpcommandcodec.java:220) @ org.openqa.selenium.remote.http.abstracthttpcommandcodec.encode (abstracthttpcommandcodec.java:118) @ org.openqa.selenium.remote.httpcommandexecutor.execute (httpcommandexecutor.java:158) @ org.openqa.selenium.remote.service.drivercommandexecutor.execute (drivercommandexecutor.java:82) @ org.openqa.selenium.remote.remotewebdriver.execute (remotewebdriver.java:637) @ org.openqa.selenium.remote.remoteexecutemethod.execute (remoteexecutemethod.java:35) @ org.openqa.selenium.remote.remotemouse.mousemove (remotemouse.java:89) @ org.openqa.selenium.support.events.internal.eventfiringmouse.mousemove (eventfiringmouse.java:58) @ org.openqa.selenium.remote.server.handler.interactions.mousemovetolocation.call (mousemovetolocation.java:59) @ org.openqa.selenium.remote.server.handler.interactions.mousemovetolocation.call (mousemovetolocation.java:32) @ java.util.concurrent.futuretask.run (futuretask.java:266) @ org.openqa.selenium.remote.server.defaultsession$1.run (defaultsession.java:176) @ java.util.concurrent.threadpoolexecutor.runworker (threadpoolexecutor.java:1142) @ java.util.concurrent.threadpoolexecutor$worker.run (threadpoolexecutor.java:617) @ java.lang.thread.run (thread.java:745) 

locally works perfectly. i'm, using geckodriver 0.17.0 , selenium 3.4.3 (edited). reported error in selenium, solved selenium 3.x , geckodriver 0.15.0 (https://github.com/seleniumhq/selenium/issues/2285). saucelabs test using selenium 3.4.0 (as can seen in error report) , in saucelabs documentation, firefox 53 , higher versions, geckodriver 0.16.0 used (https://wiki.saucelabs.com/display/docs/test+configuration+options#testconfigurationoptions-seleniumversion), which, in principle, should support move_to_element() action.

is there doing wrong? there way specify geckodriver version? now, desired capabilities this:

desired_cap = {   'platform':"mac os x 10.12",   'browsername':"firefox",   'version':"54",   'seleniumversion':"3.4.0", } 

edit 1: did not mention it, working both chrome , ie11

edit 2: same problem occurs when executing code locally selenium standalone server (3.4.0) in linux. geckodriver version 0.17.0. exact same traceback except system info: host:

solved:

selenium aware of problem:

https://github.com/seleniumhq/selenium/issues/4008

it has been solved , available in 3.5 version:

https://github.com/seleniumhq/selenium/issues/3808#issuecomment-311105917

by can solved cloning master repository, building selenium server , starting nodes -enablepassthrough flag


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -