Following is my code:
WebElement name = driver.findElement(By.name("firstName")).sendKeys(new String[] { "Jacob" });
I'm using Selenium 2.44 and Mozilla Firefox 33. Referring the above code, I'm getting a compile time error on sendKeys()
function and eclipse is asking me to open the "Configure Build Path" window.
The Compiler Compliance Level for eclipse is 1.7
.
Please help me resolving the error with sendKeys()
function.