Created
February 27, 2019 11:37
-
-
Save krish63/9add9cc119bf106ca5c4bc7846a8a5fb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.safari.SafariDriver; | |
public class Safari_getLocation_Test extends Thread { | |
public static void main(String[] args) throws Exception { | |
WebDriver driver= new SafariDriver(); | |
driver.get("http://www.websocket.org/echo.html"); | |
driver.findElement(By.id("connect")).getLocation(); | |
driver.quit(); | |
} // MAIN END | |
} // CLASS END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment