We're currently running CI automated tests (in Jenkins) with Selenium 2 (RemoteWebDriver) and an old version of Firefox (41.02).
We're in the process of migrating to Selenium 3 with the following setup:
Smartclient : SmartClient_v110p_2016-08-13_Pro.zip
Selenium : v3.0.1, selenium-server-standalone-3.0.1.jar
Firefox : 51.0.1
Gecko driver : geckodriver-v0.13.0-win64
Platform : Windows 10
Java : version "1.8.0_121", Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
(We're using the Web driver from SmartClient_v110p_2016-08-13_Pro.zip)
Tests that used to work OK now break with the new setup:
Selenium attempts to locate an element "//DynamicForm[ID='meiLoginForm']/item[name=button]/button/" and we end up with the following stack trace:
I couldn't find anything on the forum about Selenium 3.
Is Selenium 3 supported with SmartClient 11 ?
Thanks !
We're in the process of migrating to Selenium 3 with the following setup:
Smartclient : SmartClient_v110p_2016-08-13_Pro.zip
Selenium : v3.0.1, selenium-server-standalone-3.0.1.jar
Firefox : 51.0.1
Gecko driver : geckodriver-v0.13.0-win64
Platform : Windows 10
Java : version "1.8.0_121", Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
(We're using the Web driver from SmartClient_v110p_2016-08-13_Pro.zip)
Tests that used to work OK now break with the new setup:
Selenium attempts to locate an element "//DynamicForm[ID='meiLoginForm']/item[name=button]/button/" and we end up with the following stack trace:
Code:
org.openqa.selenium.UnsupportedCommandException: POST /session/f9694ba8-8783-4d95-b359-fdb53fa4449e/moveto did not match a known command Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'MTLDEVDAP', ip: '172.16.3.68', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAK9pQUoAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bOBC991csfOoCGyJptpf2lKYpUKDYLGoEPRIUOZIYUySXQ1rx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omVIhhtxfOsWCBJDTRaZQ1y87XXqy/9l7ePPiaU0jlisTAIJhfs312sjauq/HLY+Gal/6CXuoxvSRqpWwttMvusrupozkzGA9fxxt9RNj42Amtoh+yIuMp7Z4AjjPZrT15Tidi0bC7sPfu+NyUm368L+43kf1BLBwgXluUvugMAAOIMAABQSwECFAAUAAgICACvaUFKF5blL7oDAADiDAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADvAwAAAAA=}, appBuildId=20170125094131, version=, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=4720, browserVersion=51.0.1, platformVersion=10.0, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=windows_nt, firefox_profile=UEsDBBQACAgIAK5pQUoAAAAAAAAAA...}] Session ID: f9694ba8-8783-4d95-b359-fdb53fa4449e Command duration or timeout: 76 milliseconds Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700' System info: host: 'MTLDEVDAP', ip: '172.16.3.68', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121' Driver info: org.openqa.selenium.remote.RemoteWebDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAK9pQUoAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bOBC991csfOoCGyJptpf2lKYpUKDYLGoEPRIUOZIYUySXQ1rxv9+hPmLHlqWkJ1vSDDnz5s2bSQiB+wDl+1URXEtPDEUJ3X9tK9YI04oADKwoDKjVX3+UwiD8+fld2nsqEcnGuxCzSw3CxLp/ZmS01XLB30JsXdiwOkbPfK2x3l3kz14gXhiwVazJ8cPHjy/dxoADCEU/CiLICOqbDhhvKBZpgNxiSMfhuobyeuKyDq4BjjJoH3lIlkfdZJfry+mLoiiQERz23t4ahzCdzWitXGuNE4rusqLKwNau/VWDXR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QABADUAAADvAwAAAAA=}, appBuildId=20170125094131, version=, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=4720, webdriver.remote.sessionid=d082667f-d070-4c4d-97e4-e3ee6c84f4f6, browserVersion=51.0.1, platformVersion=10.0, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, javascriptEnabled=true, platformName=windows_nt, cssSelectorsEnabled=true, firefox_profile=UEsDBBQACAgIAK5pQUoAAAAAAAAAA...}] Session ID: d082667f-d070-4c4d-97e4-e3ee6c84f4f6 at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:216) at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:168) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:635) at org.openqa.selenium.remote.RemoteExecuteMethod.execute(RemoteExecuteMethod.java:35) at org.openqa.selenium.remote.RemoteMouse.mouseMove(RemoteMouse.java:97) at org.openqa.selenium.interactions.MoveToOffsetAction.perform(MoveToOffsetAction.java:41) at org.openqa.selenium.interactions.CompositeAction.perform(CompositeAction.java:50) at org.openqa.selenium.interactions.Actions.perform(Actions.java:373) at com.isomorphic.webdriver.ScActions.perform(ScActions.java:265) at com.isomorphic.webdriver.SmartClientWebDriver.internalClick(SmartClientWebDriver.java:791) at com.isomorphic.webdriver.SmartClientWebDriver.click(SmartClientWebDriver.java:818) at com.meicpg.test.selenium.ScElement.clickScElement(ScElement.java:685) at com.meicpg.test.selenium.ScElement.click(ScElement.java:71) at com.meicpg.test.selenium.pageobject.LoginPage.with(LoginPage.java:39) at com.meicpg.test.selenium.SeleniumBaseTest.openHomePage(SeleniumBaseTest.java:78) at com.meicpg.test.selenium.FapTest.test_deduction_write_TCM00614(FapTest.java:403) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at com.meicpg.test.selenium.SeleniumTestSupportRule$ScreenshotTestRule$1.evaluate(SeleniumTestSupportRule.java:193) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:51) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:237) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147) Caused by: org.openqa.selenium.UnsupportedCommandException: POST /session/f9694ba8-8783-4d95-b359-fdb53fa4449e/moveto did not match a known command Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:48:19 -0700' System info: host: 'MTLDEVDAP', ip: '172.16.3.68', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, marionette=true, firefoxOptions={args=[], profile=UEsDBBQACAgIAK9pQUoAAAAAAAAAAAAAAAAHAAAAdXNlci5qc51WTW/bOBC991csfOoCGyJptpf2lKYpUKDYLGoEPRIUOZIYUySXQ1rxv9+hPmLHlqWkJ1vSDDnz5s2bSQiB+wDl+1URXEtPDEUJ3X9tK9YI04oADKwoDKjVX3+UwiD8+fld2nsqEcnGuxCzSw3CxLp/ZmS01XLB30JsXdiwOkbPfK2x3l3kz14gXhiwVazJ8cPHjy/dxoADCEU/CiLICOqbDhhvKBZpgNxiSMfhuobyeuKyDq4BjjJoH3lIlkfdZJfry+mLoiiQERz23t4ahzCdzWitXGuNE4rusqLKwNau/VWDXRNaGalpd09B+Yj5Mt44JcwC9rCNzhlkEIIL0ll05hDu0/RRV9ZZQq2BpoCw7h5xPhcERE1W0REXAmAi3EoKlMsgsJ73NdpumPNgOTxFCFaYXMw3M6jMZf2Z7PRlLRQq6C09CymBypksZY5EBy4hRJxE4rlSGr0RO1B3V5frfxwxJ5f272ljeqXu7S9tqb54dck0XeQefv4gj5UoXIqfCiPsZnXKuT4hLozhj0hg5Dh1D/1pbE9eE9xky9paRzAaIx3wX9LhHBMyDTY6sqGbRtZRcpkLswAYQYWhBpinGmbeJs9q6hpPZ/MWjMwdlEIu6eoo5Vxt27GGJU8FBmYJ2nL3QCZv1pHkcyvdzYYHMgUdd8QUA/SPYQxaRu6CrrTl3hktd9OuVEPDBuJQ8apE2eWyrMCSEK2mQbPQUo+yIfmZ0r/Iqg+D5ZfrVDS666t/u5c3XQCvE9nJY2bheW7loYq5gmR5Rur2TUtpth3ZT7vWlSXZwYXwHhlR1bW82HEFpUgmTmvPWCOJfiDbdLSn5Jml5sh9ahSStRh2rJfRzv7Dku3s0SMidw8/btj1wJIz0vootqIfJ7MKfFyKsaHmeXQad4DHbuLNXtLTNB8/n+cB4iJF97WXjbUkEuRWuLo8J7j9qdyKSI8ctmAX5PZgjN4TwxbDKYyTm04AX1UoBBFkPdBmaUQ3rCc3U6nxs0Ujkr+Kii/44gigoNW0+p4I1rFSXU+vSb2yX4zdRyyKaWF+D7ZnlGXYh5YXoYMpi90OsJ+ypECp0/VZ5DKzpoM4aB3Xj8VuX/pub/uV5uwmN8w33omVIhhtxfOsWCBJDTRaZQ1y87XXqy/9l7ePPiaU0jlisTAIJhfs312sjauq/HLY+Gal/6CXuoxvSRqpWwttMvusrupozkzGA9fxxt9RNj42Amtoh+yIuMp7Z4AjjPZrT15Tidi0bC7sPfu+NyUm368L+43kf1BLBwgXluUvugMAAOIMAABQSwECFAAUAAgICACvaUFKF5blL7oDAADiDAAABwAAAAAAAAAAAAAAAAAAAAAAdXNlci5qc1BLBQYAAAAAAQABADUAAADvAwAAAAA=}, appBuildId=20170125094131, version=, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, processId=4720, browserVersion=51.0.1, platformVersion=10.0, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=windows_nt, firefox_profile=UEsDBBQACAgIAK5pQUoAAAAAAAAAA...}] Session ID: f9694ba8-8783-4d95-b359-fdb53fa4449e Build info: version: '3.0.1', revision: '1969d75', time: '2016-10-18 09:49:13 -0700' System info: host: 'MTLDEVDAP', ip: '172.16.3.68', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121' Driver info: driver.version: RemoteWebDriver 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:97) at org.openqa.selenium.support.events.internal.EventFiringMouse.mouseMove(EventFiringMouse.java:62) at org.openqa.selenium.remote.server.handler.interactions.MouseMoveToLocation.call(MouseMoveToLocation.java:57) at org.openqa.selenium.remote.server.handler.interactions.MouseMoveToLocation.call(MouseMoveToLocation.java:32) at java.util.concurrent.FutureTask.run(Unknown Source) at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
Is Selenium 3 supported with SmartClient 11 ?
Thanks !
Comment