When I am trying to driver.close() then I can get:
java.net.SocketException: Connection reset exception.
How to resolve it?
I'm writting a code like this:
driver.findElement(By.xpath("//*[text()='Log Out']")).click();
driver.close();
When I am trying to driver.close() then I can get:
java.net.SocketException: Connection reset exception.
How to resolve it?
I'm writting a code like this:
driver.findElement(By.xpath("//*[text()='Log Out']")).click();
driver.close();