Common Actions

QuitWebDriver

Use this action to stop selenium driver. All subsequent actions are not executed.

Wait

Duration in seconds with pause test execution. For example, value 2 make testing execution to pause there for 2 seconds.

WaitForElementDisplayed

Use this action to wait until given element is displayed. This action also provides option of max wait duration after which subsequent actions are executed.

Property Description
XPath Xpath of HTML element to check whether it is displayed and wait for it to be displayed.
MaxWaitDuration Maximum duration to wait for the given element to be displayed. Default wait duration is 120 seconds.
AttemptWaitDuration Duration to wait between each attempt to check whether given element is displayed or not. Default is set to 1 second.
Log

Action to log additional information during test execution. Concatenate text content with variables wherever needed.

Property Description
Text Text content to log. Concatenate variable if needed.
IsDisplayed

Action to check the given element is displayed or not.

Property Description
XPath Xpath of HTML element to check whether it is displayed.
Variable This variable contains boolean value, either true or false indicating whether given element displayed or not.