Click or drag to resize
Ranorex

IWebDriverEndpointStartBrowser Method

Opens a new browser and returns the web driver endpoint that can be used to automate that browser instance.

Namespace:  Ranorex.Core
Assembly:  Ranorex.Plugin.WebDriver (in Ranorex.Plugin.WebDriver.dll) Version: 12.7.4-git.38314c06
Syntax
IWebDriver StartBrowser(
	string browser,
	string url
)

Parameters

browser
Type: SystemString
The name of the browser to open. Possible values are all WebDriver desired capability default names: 'firefox', 'phantomjs', 'internetexplorer, 'Edge', 'HtmlUnit', 'htmlunitwithjavascript, 'iphone', 'ipad, 'chrome', 'android', 'opera' & 'safari'.
url
Type: SystemString
The site to open initially in the newly opened browser.

Return Value

Type: IWebDriver
A webdriver instance that can be used to automate this browser instance.
Remarks
This call will only work if the driver required by the given capabilities is available at the selenium server instance this endpoint is communicating with.
See Also