Open URL - operation

Open the specified URL on the device.


On HTML based platforms this operation works very similarly to the Open app. The difference is that Open URL allows for opening arbitrary URL directly from the test whereas Open app is bound to app configuration.

To perform this operation in the Suitest Test editor use the Open URL line:

Open suite.st
Open suite.st

To perform this operation in the Suitest JavaScript API use the openUrl command:

await suitest.openUrl('https://suite.st/');

Open URL on Xbox One HTML apps

To use the Open URL line with Xbox One HTML apps, you will first need to make sure that the URL that you are trying to open is white-listed in the package.appxmanifest, otherwise, the URL will not be opened.