I am new to Selenium. I just want to send keys to a username text box through internetexplorer using the below code;
Here is the code:
public class IE_Brower {
public static void main(String[] args) {
System.setProperty("webdriver.ie.driver", "Driver/IEDriverServer.exe");
WebDriver driver = new InternetExplorerDriver();
driver.get("https://www.facebook.com");
driver.findElement(By.id("email")).sendKeys("Testing");
}
}
But only facebook page is getting open but value in the text field is not passing. This one is not working. Please help me.