Actions(Keyboard keyboard)

Only used by the TouchActions class.
Actions(Keyboard keyboard, Mouse mouse)

A constructor that should only be used when the keyboard or mouse were extended to provide additional functionality (for example, dragging-and-dropping from the desktop).
Actions(WebDriver driver)

Default constructor – uses the default keyboard, mouse implemented by the driver.

Read More »


Right Click Context Menu example

We will show how to work with context menu by taking a simple example. In the below example, we will first Right click on the element and the select the required option from the list of values. In the example we have also switched to an alert to verify if we have successfully clicked on the required link by using TestNG assertsRead More »