On sendkeys, I am not able to pass the string as parameter
This is on module 12 and trying using the id type to find the elements and send the keys.
Please help.
driver.findElement(By.id("userid")).sendKeys("uytuy");
I am seeing below error:
The method sendKeys(CharSequence[]) in the type WebElement is not applicable for the arguments (String)
Instructor
Ashish Thakur Replied on 10/10/2019
Which version of JDK are you using?
Make sure that you are using JDK 8 only.
Thanks. It worked when I updated the compiler compliance level.