selenium - Unable to launch safari in simulator using appium xcuitest -


i'm automating wb application in ios simulator v10.0 using appium xcuitest v1.6 i'm unable launch safari url mentioned in code. getting following exception.please help.

exception in thread "main" org.openqa.selenium.remote.unreachablebrowserexception: not start new session. possible causes invalid address of remote server or browser start-up failure. build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50' system info: host: 'tvmatp310436m', ip: '192.168.1.116', os.name: 'mac os x', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_111' driver info: driver.version: iosdriver @ org.openqa.selenium.remote.remotewebdriver.execute(remotewebdriver.java:593) @ io.appium.java_client.defaultgenericmobiledriver.execute(defaultgenericmobiledriver.java:51) @ io.appium.java_client.appiumdriver.execute(appiumdriver.java:1) @ io.appium.java_client.ios.iosdriver.execute(iosdriver.java:1) @ org.openqa.selenium.remote.remotewebdriver.startsession(remotewebdriver.java:240) @ org.openqa.selenium.remote.remotewebdriver.(remotewebdriver.java:126) @ org.openqa.selenium.remote.remotewebdriver.(remotewebdriver.java:139) @ io.appium.java_client.defaultgenericmobiledriver.(defaultgenericmobiledriver.java:47) @ io.appium.java_client.appiumdriver.(appiumdriver.java:114) @ io.appium.java_client.appiumdriver.(appiumdriver.java:132) @ io.appium.java_client.ios.iosdriver.(iosdriver.java:81) @ com.jcp.setup.setupappium.main(setupappium.java:29) caused by: org.openqa.selenium.webdriverexception: org.apache.http.nohttpresponseexception: 0.0.0.0:4723 failed respond build info: version: '2.45.0', revision: '5017cb8', time: '2015-02-26 23:59:50' system info: host: 'tvmatp310436m', ip: '192.168.1.116', os.name: 'mac os x', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_111' driver info: driver.version: iosdriver @ io.appium.java_client.remote.appiumcommandexecutor.execute(appiumcommandexecutor.java:84) @ org.openqa.selenium.remote.remotewebdriver.execute(remotewebdriver.java:572) ... 11 more caused by: org.apache.http.nohttpresponseexception: 0.0.0.0:4723 failed respond @ org.apache.http.impl.conn.defaulthttpresponseparser.parsehead(defaulthttpresponseparser.java:143) @ org.apache.http.impl.conn.defaulthttpresponseparser.parsehead(defaulthttpresponseparser.java:57) @ org.apache.http.impl.io.abstractmessageparser.parse(abstractmessageparser.java:260) @ org.apache.http.impl.defaultbhttpclientconnection.receiveresponseheader(defaultbhttpclientconnection.java:161) @ org.apache.http.impl.conn.cpoolproxy.receiveresponseheader(cpoolproxy.java:153) @ org.apache.http.protocol.httprequestexecutor.doreceiveresponse(httprequestexecutor.java:271) @ org.apache.http.protocol.httprequestexecutor.execute(httprequestexecutor.java:123) @ org.apache.http.impl.execchain.mainclientexec.execute(mainclientexec.java:254) @ 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:184) @ 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:72) @ org.openqa.selenium.remote.httpcommandexecutor.execute(httpcommandexecutor.java:133) @ io.appium.java_client.remote.appiumcommandexecutor.execute(appiumcommandexecutor.java:69) ... 12 more

i'd rather uninstall , install appium 1.6.4 using these commands:

npm uninstall appium npm install -g appium@1.6.4

there issues related safari earlier appium versions.


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -