Learning keyboard-based interactions

Until now, we have seen all the actions that can be taken using a mouse. Now it's time to look at some of the actions that are specific to the keyboard in the Actions class. Basically, there are three different actions that are available in the Actions class that are specific to the keyboard. They are the keyUp, keyDown, and sendKeys actions, each having two overloaded methods. One method is to execute the action directly on the WebElement, and the other is to just execute the method irrespective of its context.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.17.203.68