Automation Question: Download Questions PDF
Tell us what kind of keyboard operations can be performed in Selenium?
![Automation Interview Answer Automation Interview Question](https://globalguideline.com/public/images/interview/27.png)
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.
☛ .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 Question | Next Question |
Tell me could cookies be deleted in Selenium? | Do you know how to locate a link using its text in Selenium? |