AppiumæœåŠ¡å™¨ä¸æ˜¯ä»Žjava程åº

时间:2017-08-18 09:31:51

标签: java appium

Exception in thread "main" org.openqa.selenium.remote.UnreachableBrowserException: Could not
     

开始新会è¯ã€‚å¯èƒ½çš„原因是é¥æŽ§å™¨çš„æ— æ•ˆåœ°å€ Â Â æœåŠ¡å™¨æˆ–æµè§ˆå™¨å¯åŠ¨å¤±è´¥ã€‚构建信æ¯ï¼šç‰ˆæœ¬ï¼š'2.52.0',   修订:'4c2593cfc3689a7fcd7be52549167e5ccc93ad28',时间:   '2016-02-11 11:22:43'系统信æ¯ï¼šä¸»æŒäººï¼š'BLR-L1516-01157',ip:   '10 .246.20.28',os.name:'Windows 10',os.arch:'amd64',os.version:   '10 .0',java.version:'1.8.0_73'驱动程åºä¿¡æ¯ï¼šdriver.version:   AndroidDriver在   org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:665)     at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:180)     在   org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:249)     在   org.openqa.selenium.remote.RemoteWebDriver。(RemoteWebDriver.java:131)     在   org.openqa.selenium.remote.RemoteWebDriver。(RemoteWebDriver.java:158)     在io.appium.java_client.AppiumDriver。(AppiumDriver.java:109)     在   io.appium.java_client.android.AndroidDriver。(AndroidDriver.java:39)     在Driver_class.linear_ebayapp.main(linear_ebayapp.java:47)引起   by:org.apache.http.conn.HttpHostConnectException:连接到   127.0.0.1:4723 [/127.0.0.1]失败:连接被拒ç»ï¼šè¿žæŽ¥org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:140)     在   org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:314)     在   org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:363)     在   org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:219)     在   org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)     在   org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:86)     在   org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108)     在   org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)     在   org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)     在   org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)     在   org.openqa.selenium.remote.internal.ApacheHttpClient.fallBackExecute(ApacheHttpClient.java:144)     在   org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:90)     在   org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)     在   org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:644)     ... 7更多引起:java.net.ConnectException:拒ç»è¿žæŽ¥ï¼š   在java.net.DualStackPlainSocketImpl.waitForConnect连接(Native   方法)在java.net.DualStackPlainSocketImpl.socketConnect(未知   æ¥è‡ªjava.net.AbstractPlainSocketImpl.doConnect(未知æ¥æºï¼‰     at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)     在java.net.AbstractPlainSocketImpl.connect(未知æ¥æºï¼‰at   java.net.PlainSocketImpl.connect(未知æ¥æºï¼‰at   java.net.SocksSocketImpl.connect(未知æ¥æºï¼‰at   java.net.Socket.connect(未知æ¥æºï¼‰at   org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:72)     在   org.apache.http.impl.conn.HttpClientConnectionOperator.connect(HttpClientConnectionOperator.java:117)     ......还有20个

0 个答案:

没有答案