 | IHostOpenBrowser Method (String, String) |
Opens a web page in the specified browser.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxint OpenBrowser(
string url,
string browserName
)
Function OpenBrowser (
url As String,
browserName As String
) As Integer
Parameters
- url
- Type: SystemString
The URL of the web page to open. - browserName
- Type: SystemString
The name of the browser to open. Can either be "firefox", "ie", "chrome", "chromium" or "edge".
Return Value
Type:
Int32The process ID of the browser.
See Also