What are the different keyboard operations that can be performed in Selenium?
Hello Rhian-lewis,
The different keyboard operations that can be performed in Selenium are-
-
.sendKeys(“sequence of characters”)
– Used for passing character sequence to an input or textbox element. -
.pressKey(“non-text keys”)
– Used for keys like control, function keys etc that are non-text. -
.releaseKey(“non-text keys”)
– Used in conjunction with the keypress event to simulate releasing a key from the keyboard event.