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

Submitted by: Muhammad
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.
Submitted by: Muhammad

Read Online Automation Job Interview Questions And Answers