1.

Code to type text in a textbox using Selenium?

Answer» CODE to type TEXT in a textbox using SELENIUM?
We use sendKeys("String") method to enter the string in a textbox.
syntax
WebElement USERNAME = drv.findElement(By.id("txtBoxId"));
username.sendKeys("string value");


Discussion

No Comment Found