Browser go to command

Opens the browser application and browses to the specified location. This is done with a direct native command to the device OS, and not with navigation.

No validation is performed. The green success status confirmation within the execution report does not validate that the browser was opened; rather, it validates that the native command request was successfully received by the device OS.

The URL page will not refresh if the browser go to function is used with the same URL consecutively. To ensure that the URL page is reloaded, use the Browser open function followed by the Browser go to function.

Parameters

Name Type Possible values Description

Device ID*

Device

 

The device for this command.

URL*

String


The specified URL.

Wait for page load

Boolean

false | true

Specifies whether command should execute synchronously, waiting for the page to load before returning control. The default is to work asynchronously and return immediately after registering the request.

Browser

String

Default | OS

The automation mode for web applications, where:

  • Default opens the browser set as default on the device

  • OS indicates a DOM-object supported browser (Safari for iOS, Chrome for Android). Select the OS option to use the real DOM on native browsers. When using this option, the system will ensure that only one tab is opened.

Comment

String

 

Adds a comment to the script

On-fail Result*

Condition

Ignore | Break | Continue | Abort | Catch

The behavior when the command fails.

* Mandatory parameter