Open URL
Open a given URL in the current window.
Parameters
url
Specifies the URL to open (required).
May be absolute or relative to the configured base URL (see examples).
May be absolute or relative to the configured base URL (see examples).
Examples
Open a page by using a relative URL
Config (wetator.properties)
wet.baseUrl=https://www.wetator.org
Open url 'https://www.wetator.org/commands/openurl.html'.
Command | Parameter | Optional Parameter | |
---|---|---|---|
open-url | commands/openurl.html | ||
assert-title | WETATOR / Open Url |
Open a page by using an absolute URL
Open url 'https://www.wetator.org/commands/openurl.html'.
Command | Parameter | Optional Parameter | |
---|---|---|---|
open-url | https://www.wetator.org/commands/openurl.html | ||
assert-title | WETATOR / Open Url |
Open a local file
{{% image src="docu-cmd-openurl-file.png" %}}Open file 'c:\wetator\commands\openurl.html'.
Command | Parameter | Optional Parameter | |
---|---|---|---|
open-url | file://c:/wetator/commands/openurl.html | ||
assert-title | WETATOR / Open Url |