The sendKeys method

This is used to type in alphanumeric and special character keys into WebElements such as textbox, textarea, and so on. This is different than the WebElement.sendKeys(CharSequence keysToSend) method, as this method expects the WebElements to have the focus before being called. The API syntax for the sendkeys() method is as follows:

public Actions sendKeys(CharSequence keysToSend)

We expect you to implement a couple of test scripts around these keyboard events using the keyUp, keyDown, and sendKeys() methods.

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

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