element not interactable exception in selenium web automation

Try setting an implicit wait of maybe 10 seconds. gmail.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS); Or set an explicit wait. An explicit waits is code you define to wait for a certain condition to occur before proceeding further in the code. In your case, it is the visibility of the password input field. (Thanks to ainlolcat’s comment) WebDriver gmail= … Read more