Browser sync command
Verifies that the browser application is running and the page is loaded.
As a best practice, this function should follow a command such as a button click to ensure that the page is loaded following the command. The timeout is performed after the button click, as opposed to the timeout in a button click command, which is performed before the click and waits for the page to load.
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. |
|
timeout |
Number |
|
The time, in seconds, to wait for the page to be loaded. |
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