Automation Question: Download Automation PDF

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

Tweet Share WhatsApp

Answer:

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 PDF Read All 108 Automation Questions
Previous QuestionNext Question
Tell me could cookies be deleted in Selenium?Do you know how to locate a link using its text in Selenium?