Automation Question:
Download Questions PDF

Tell us what kind of keyboard operations can be performed in Selenium?


Selenium lets to perform different kinds of keyboard operations, such as:

☛ .pressKey("non-text keys") is used for keys like control, function keys etc that are non-text
☛ .releaseKey("non-text keys") is used in conjunction with key press event to simulate releasing a key from keyboard event
☛ .sendKeys("sequence of characters") is used for passing character sequence to an input or textbox element.

Download Automation Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me could cookies be deleted in Selenium?Do you know how to locate a link using its text in Selenium?