| ApplicationManagerRunBrowser Method (BrowserInfo, String, Int32, String) | 
 
            Launches a web browser and, if a URL is specified, navigates to the web page. 
            
The method pauses execution until the browser loads the page and becomes ready to accept user input or until the specified timeout is reached.
 
    Namespace: 
   SmartBear.TestLeft
    Assembly:
   SmartBear.TestLeft (in SmartBear.TestLeft.dll) Version: 14.70.237.11 (14.70.237.11)
 Syntax
Syntaxpublic IWebBrowser RunBrowser(
	BrowserInfo info,
	string url,
	int waitTime,
	string additionalCommandLine = ""
)
Public Function RunBrowser ( 
	info As BrowserInfo,
	url As String,
	waitTime As Integer,
	Optional additionalCommandLine As String = ""
) As IWebBrowser
Dim instance As ApplicationManager
Dim info As BrowserInfo
Dim url As String
Dim waitTime As Integer
Dim additionalCommandLine As String
Dim returnValue As IWebBrowser
returnValue = instance.RunBrowser(info, 
	url, waitTime, additionalCommandLine)
public:
IWebBrowser^ RunBrowser(
	BrowserInfo^ info, 
	String^ url, 
	int waitTime, 
	String^ additionalCommandLine = L""
)
Parameters
- info
- Type: SmartBear.TestLeftBrowserInfo
 The BrowserInfo object that specifies the browser to run. Use the TestLeft.IDriver.Applications.Browsers property to get a list of BrowserInfo objects for all installed browsers. To learn more, see Run a Web Browser in TestLeft documentation.
- url
- Type: SystemString
 The URL of the web page the web browser will open.
- waitTime
- Type: SystemInt32
 The time (in milliseconds) to wait until the browser loads the page and becomes ready to accept user input.
- 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 See Also
See Also