Created
May 15, 2019 15:23
-
-
Save WryanBrock/d165303d40c7c53fdd124787a5ae0343 to your computer and use it in GitHub Desktop.
Simple one
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
package scraperBlocks; | |
import org.openqa.selenium.By; | |
import org.openqa.selenium.WebDriver; | |
import org.openqa.selenium.ie.InternetExplorerDriver; | |
public class simpleie { | |
public static void main(String[] args) { | |
System.setProperty("webdriver.ie.driver", "C:\\Users\\seymo\\Desktop\\Projects\\Drivers\\iedriver\\IEDriverServer.exe"); | |
WebDriver driver = new InternetExplorerDriver(); | |
driver.get("https://www.google.com/"); | |
driver.findElement(By.cssSelector(".gLFyf")).sendKeys("admin"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment