Selenium IE 32bit WebDriver is crashing -
have strange happening selenium , webdriver - using ie webdriver 32bit - when ever following code executed; on second web driver crashes following:
command line server ie driver has stopped working
the java code follows:
// del language , add 1 (int j = 1; j <= 18; j++) { webdriverwait wait3 = new webdriverwait(driver, 20); wait3.until(expectedconditions.visibilityofelementlocated(by.xpath("//*[contains(@title,'delete language')]"))).click(); driver.findelement(by.xpath("//*[contains(@title,'delete language')]")).click(); }
and console log follows:
org.openqa.selenium.remote.unreachablebrowserexception: error communicating remote browser. may have died. build info: version: '2.45.0', revision: '32a636c', time: '2015-03-05 22:01:35' system info: host: 'xxxxx', ip: 'xxxxxxx', os.name: 'windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_45' driver info: driver.version: remotewebdriver @ org.openqa.selenium.remote.remotewebdriver.execute(remotewebdriver.java:593) @ org.openqa.selenium.remote.remotewebelement.execute(remotewebelement.java:268) @ org.openqa.selenium.remote.remotewebelement.click(remotewebelement.java:79) @ pw_test_automation.update_offender_details.main(update_offender_details.java:179) caused by: org.openqa.selenium.webdriverexception: java.net.socketexception: connection reset build info: version: '2.45.0', revision: '32a636c', time: '2015-03-05 22:01:35' system info: host: 'xxxx', ip: 'xxxx', os.name: 'windows 8.1', os.arch: 'amd64', os.version: '6.3', java.version: '1.8.0_45' driver info: driver.version: remotewebdriver @ org.openqa.selenium.remote.service.drivercommandexecutor.execute(drivercommandexecutor.java:75) @ org.openqa.selenium.remote.remotewebdriver.execute(remotewebdriver.java:572) ... 3 more caused by: java.net.socketexception: connection reset @ java.net.socketinputstream.read(socketinputstream.java:209) @ java.net.socketinputstream.read(socketinputstream.java:141) @ org.apache.http.impl.io.sessioninputbufferimpl.streamread(sessioninputbufferimpl.java:136) @ org.apache.http.impl.io.sessioninputbufferimpl.fillbuffer(sessioninputbufferimpl.java:152) @ org.apache.http.impl.io.sessioninputbufferimpl.readline(sessioninputbufferimpl.java:270) @ org.apache.http.impl.conn.defaulthttpresponseparser.parsehead(defaulthttpresponseparser.java:140) @ 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:126) @ org.openqa.selenium.remote.internal.apachehttpclient.execute(apachehttpclient.java:72) @ org.openqa.selenium.remote.httpcommandexecutor.execute(httpcommandexecutor.java:133) @ org.openqa.selenium.remote.service.drivercommandexecutor.execute(drivercommandexecutor.java:66) ... 4 more
there might browser compatibly issue of website calling in driver.get("................");
first try open url in ie without selenium or try other url open in ie. clarify problem exist in part.
Comments
Post a Comment