Answers

Question and Answer:

  Home  Automation

⟩ Explain me how do you send ENTER/TAB keys in WebDriver?

use click() or submit() methods are used for ENTER. But, don’t forget that submit() method is used only if type=’submit’.

You can use Actions class act.sendKeys(Keys.ENTER) for TAB.

 189 views

More Questions for you: