Jai Padmanabhan
Jai Padmanabhan
The error was resolved by adding selenium-remote-driver to the pom followed by mvn eclipse:eclipse. This should be documented clearly
Upgrading to Selenium 3.2.0 does not compile Pagefactory! Do I need something more in my pom? ` io.appium java-client 5.0.0-BETA4 org.seleniumhq.selenium selenium-java org.seleniumhq.selenium selenium-java 3.2.0 `
Tried again, but get a similar stacktrace - `org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: OSS Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.getParameter(AbstractHttpCommandCodec.java:349) at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.buildUri(AbstractHttpCommandCodec.java:334) at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:223) at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.encode(AbstractHttpCommandCodec.java:118) at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:157)...
@TikhomirovSergey Unfortunately, same thing again after removing extra selenium dependencies in my pom.xml- `org.openqa.selenium.remote.ProtocolHandshake createSession INFO: Detected dialect: OSS Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.getParameter(AbstractHttpCommandCodec.java:349) at org.openqa.selenium.remote.http.AbstractHttpCommandCodec.buildUri(AbstractHttpCommandCodec.java:334) at...
I tried BETA6 and this time it is a different exception - `Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.base.Throwables.throwIfUnchecked(Ljava/lang/Throwable;)V at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:176) at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:604) at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:46) at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) at io.appium.java_client.ios.IOSDriver.execute(IOSDriver.java:1) at io.appium.java_client.HasSessionDetails.getSessionDetails(HasSessionDetails.java:36)...
@SrinivasanTarget I am using 1.6.4-beta, I have mentioned that in my first post above. With the pom changes you have mentioned, I get the same client side exception as mentioned...
@TikhomirovSergey Upgrade to testng 6.11 doesn't seem to help here. @SrinivasanTarget gist is here [https://gist.github.com/jaipaddy/323061a7875b1318376a2b3538077d2a](https://gist.github.com/jaipaddy/323061a7875b1318376a2b3538077d2a) It throws during instantiating IOSDriver; however the app is launched on the iOS device.
I face the same issue, the quickstart is not working. I used the same pom.xml as mentioned in my project along with selenium 3.7.1