Methods

Setup

Create new WebDriver instance.

This allows selecting the browser to use.

It also contains the list of HTML attributes to show for each element, this list is given as an input parameter to the Setup method.

If the web application under test requires special attributes to be available during test, they can be added to the list at Setup, for instance, to support one of the application specific data-* attributes.

By default the following list of attributes are:

Goto

Navigate to a webpage identified by an url.

Back

Navigate backwards in the browser.

Forward

Navigate forward in the browser.

Refresh

Refresh the currently loaded webpage.

Execute Script

Execute a script (JavaScript) command on the running driver (browser).

Enter IFrame

Future WebDriver calls are directed to the selected IFrame.

Exit IFrame

Exit the IFrame most recently entered using the Enter IFrame method.