Text field clear automatically after entering the value as sendkeys
I tried to login on my mobile webbrowser. After passing my username as string, it clears automatically.
My code is
The script fails only with the mobile browser. The login is a light box pop up.
morde last edited by
This happens because of your application behavior. You can try with below code:
Actions action =new Actions(driver); driver.findElement(By.xpath("")).sendkeys("textvalue"); action.sendkeys("Keys.TAB");