Hi Team,
I have an application which is developed using SmartClientv10. So I took isomorphic_webdriver.jar from *\SmartClient_v100p_2018-10-05_LGPL\smartclientSDK\WEB-INF\lib-WebDriverSupport.
I have added it as referenced lib in eclipse with selenium 3.14.
Please find attached code and error.
I have an application which is developed using SmartClientv10. So I took isomorphic_webdriver.jar from *\SmartClient_v100p_2018-10-05_LGPL\smartclientSDK\WEB-INF\lib-WebDriverSupport.
I have added it as referenced lib in eclipse with selenium 3.14.
Starting ChromeDriver 2.42.591088 (7b2b2dca23cca0862f674758c9a3933e685c27d5) on port 32113
Only local connections are allowed.
Oct 16, 2018 6:12:22 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
Exception in thread "main" java.lang.ClassCastException: org.openqa.selenium.MutableCapabilities cannot be cast to org.openqa.selenium.remote.DesiredCapabilities
at com.isomorphic.webdriver.SmartClientWebDriver.<init>(SmartClientWebDriver.java:82)
at com.isomorphic.webdriver.SmartClientChromeDriver.<init>(SmartClientChromeDriver.java:43)
at facebook.TestFBRegistration_Chrome.main(TestFBRegistration_Chrome.java:24)
Only local connections are allowed.
Oct 16, 2018 6:12:22 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
Exception in thread "main" java.lang.ClassCastException: org.openqa.selenium.MutableCapabilities cannot be cast to org.openqa.selenium.remote.DesiredCapabilities
at com.isomorphic.webdriver.SmartClientWebDriver.<init>(SmartClientWebDriver.java:82)
at com.isomorphic.webdriver.SmartClientChromeDriver.<init>(SmartClientChromeDriver.java:43)
at facebook.TestFBRegistration_Chrome.main(TestFBRegistration_Chrome.java:24)
Comment