Browser open command

Opens the browser. This is done with a direct native command to the device OS, and not with navigation. Supported for Chrome, Safari, and instrumented hybrid apps.

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.

Parameters

Name Type Possible values Description

Device ID*

Device

 

The device for this command.

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