Regarding Setting text of a WebElement without using SendKeys method
Marcee last edited by user
I have the following code piece in java using selenium inorder to access UI element on iOS and populate a textfield.
WebElement username = driver.findElement(By.xpath("//window/textfield")); username.click(); username.clear(); username.sendKeys("User");
sendKeys()method accesses the keyboard of the phone and i want to be able to do the same without accessing the keyboard of the phone.Is there some way to do this by kind of setting the value in code without using keyboard of the phone.
One way I can think of a avoiding using