Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Below mentioned are the action keywords with their usage :

Browser keywords help us to perform certain actions on the browser.

Suppose you wish to maximize the browser, click on an element, verify an element and navigate to the browsers previous page.

Structure :

launchApp <parameter>

browserMaximize

click <parameter>

verifyElementVisible <parameter>

navigateBack

Action

Parameters

Example Usage

browserMaximize

Web


To maximize the Browser.

Example:

browserMaximize

Maximizes the browser for full page view.

clearBrowserCookies

Web


To clear browser cookies if any.

Example:

clearBrowserCookies

Clears all the cookies on the opened browser.

launchBrowserOnDevice

Mobile


To launch the web url (mentioned in Parameter 1) on device.

navigateForward

Web

Param 1 : Enter the url to launch

Example:

launchBrowserOnDevice : <URL : www.bqurious.com>

Launches the web url www.bqurious.com on device.

navigateBack


To click on the Forward back button of the browser, to navigate to the next previous page.

If the forward backward button is disabled, no action will be performed & the step will pass.

Example:

navigateForwardnavigateBack

Clicks on the forward backward button on the web page

navigateForward

navigateBack

Web


To click on the back Forward button of the browser, to navigate to the previous next page.

If the backward forward button is disabled, no action will be performed & the step will pass.

Example:

navigateBacknavigateForward

Clicks on the backward forward button on the web page

launchBrowserOnDevice

useBrowser

MobileWeb


To launch the web url switch to browser (mentioned in Parameter parameter 1) on device.to integrate with different web application. 

Param 1 : Enter Name of the url browser to launch use

Example:

launchBrowserOnDevice useBrowser : <URL : www.bqurious.com>Launches the web url www.bqurious.com on device<Browser Name : Mozilla>

Switches the browser to Mozilla.