Answers

Question and Answer:

  Home  Automation

⟩ 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.

 121 views

More Questions for you: