| ApplicationManagerRunBrowser Method (BrowserType, String, String) | 
 
            Launches a web browser and, if a URL is specified, navigates to the web page.
            
 
    Namespace: 
   SmartBear.TestLeft
    Assembly:
   SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
 Syntax
Syntaxpublic IWebBrowser RunBrowser(
	BrowserType family,
	string url = "",
	string additionalCommandLine = ""
)
Public Function RunBrowser ( 
	family As BrowserType,
	Optional url As String = "",
	Optional additionalCommandLine As String = ""
) As IWebBrowser
Dim instance As ApplicationManager
Dim family As BrowserType
Dim url As String
Dim additionalCommandLine As String
Dim returnValue As IWebBrowser
returnValue = instance.RunBrowser(family, 
	url, additionalCommandLine)
public:
IWebBrowser^ RunBrowser(
	BrowserType family, 
	String^ url = L"", 
	String^ additionalCommandLine = L""
)
Parameters
- family
- Type: SmartBear.TestLeftBrowserType
 The browser's family name.
- url (Optional)
- Type: SystemString
 The URL of the web page to open in the browser.
- additionalCommandLine (Optional)
- Type: SystemString
 Command-line arguments for the browser.
Return Value
Type: 
IWebBrowserThe 
IWebBrowser object that corresponds to the launched browser instance.
 Exceptions
Exceptions Remarks
Remarks
            Once the URL is specified, the method pauses execution until the browser loads the page and becomes ready to accept user input or until the certain timeout is reached. The default timeout value is 60000 ms, however it can be changed via the IDriver.Options.WebTesting.PageLoadTimeout  option.
            
If you have both 32- and 64-bit versions of a browser installed (for example, 32-bit and 64-bit editions of Internet Explorer on a 64-bit version of Windows), TestLeft will launch the 32-bit version of the browser.
 See Also
See Also