1 Answers
- Before using sendkeys() write click() method to click inside textfield i.e: driver. findElement(By.name(“phone”)). click(); driver.
- Another way is to use javascript to input text in texfields like this: WebElement wb = driver. findElement(By.name(“phone”)); JavascriptExecutor jse = (JavascriptExecutor)driver; jse.