Method LaunchMobileWeb
Deprecated. Use Launch method insteadUsage
Function LaunchMobileWeb(
String DeviceID,
String Url,
String Browser [Optional]
)
Parameters
DeviceID
Type: String
UDID of the Mobile Device
Url
Type: String
The URL of the website
Browser (optional)
Type: String
Default value: "zap"
The browser to use. (zap, chrome, safari, etc)
Returns
No return value
Example
VBScript
Application("Demo").LaunchMobileWeb "2b6f0cc904d137be2e173023****6409****1186", "www.zaptest.com"
'Set non-default browser
Application("Demo").LaunchMobileWeb "2b6f0cc904d137be2e173023****6409****1186", "www.zaptest.com", "chrome"
JavaScript
Application("Demo").LaunchMobileWeb("2b6f0cc904d137be2e173023****6409****1186", "www.zaptest.com");
// Set non-default browser
Application("Demo").LaunchMobileWeb("2b6f0cc904d137be2e173023****6409****1186", "www.zaptest.com", "chrome");
Comment
Go to ZAPTEST website