无法在PC之间建立Appium会话

时间:2019-05-22 06:01:15

标签: java xcode appium

我的设置:prod station(Windows 7)和Virtual Box(Mojave 10),Appium Server-1.13.0,客户端:IntelliJ-2019.1,iOS Simulator-SE 12.1 在我的设置中,一个Appium服务器(本地)调用另一个服务器(虚拟框)。

IntelliJ的调用堆栈:

May 21, 2019 10:45:38 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: W3C

java.lang.NullPointerException
    at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:770)
    at org.openqa.selenium.support.ui.FluentWait.<init>(FluentWait.java:96)
    at org.openqa.selenium.support.ui.WebDriverWait.<init>(WebDriverWait.java:71)
    at org.openqa.selenium.support.ui.WebDriverWait.<init>(WebDriverWait.java:45)
    at lib.ui.MainPageObject.waitWithId(MainPageObject.java:28)
    at lib.ui.WelcomePageObject.waitForLearnMoreWikipedia(WelcomePageObject.java:20)
    at tests.iOS.getStartedTest.testPassThroughWelcome(getStartedTest.java:11)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 

Mojave的Appium Server调用堆栈: enter image description here

0 个答案:

没有答案