Click or drag to resize

IWebBrowser Methods

The IWebBrowser type exposes the following members.

Methods
  NameDescription
Public methodCallMethodT(String, Object)
Invokes the specified method and returns the result.
(Inherited from IObject.)
Public methodCastT
Casts the interface to an interface of another type.
(Inherited from IObject.)
Public methodClose
Closes the process by sending the close command to its main window and waits until the process is closed or the specified time limit is reached.
(Inherited from IProcess.)
Public methodFindT(ISearchPattern, Int32)
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodFindT(ISearchPattern, Int32, Int32)
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.)
Public methodFindAllT
Searches for objects that match the specified pattern. The search depth is specified as an optional parameter.
(Inherited from IObjectTreeNode.)
Public methodGetPropertyT
Returns the value of the specified property.
(Inherited from IObject.)
Public methodSaveDumpToLog
Generates a process dump and posts it to the log.
(Inherited from IProcess.)
Public methodSetProperty
Sets a value for the specified property.
(Inherited from IObject.)
Public methodTerminate
Terminates the process.
(Inherited from IProcess.)
Public methodToUrl(String)
Opens the specified web page. The timeout for this operation is specified by the driver.Options.WebTesting.PageLoadTimeout setting.
Public methodToUrl(String, Int32)
Opens the specified web page.
Public methodTryFindT(ISearchPattern, T)
Searches for an object that matches the specified pattern (the search depth is 1). The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodTryFindT(ISearchPattern, Int32, T)
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodTryFindT(ISearchPattern, Int32, Int32, T)
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.)
Public methodWaitProperty(String, Object)
Delays the test execution until the specified property equals the specified value or until the default time limit AutoWaitTimeout is reached.
(Inherited from IObjectTreeNode.)
Public methodWaitProperty(String, Object, Int32)
Delays the test execution until the specified property equals the specified value or until the specified time limit is reached.
(Inherited from IObjectTreeNode.)
Top
See Also