BrowserHelper.IsBrowserWindow Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
IsBrowserWindow(UITechnologyElement) |
Determines whether the provided element is a browser window. |
IsBrowserWindow(String) |
Determines whether the specified class represents a Web browser window. |
IsBrowserWindow(UITechnologyElement)
Determines whether the provided element is a browser window.
public:
abstract bool IsBrowserWindow(Microsoft::VisualStudio::TestTools::UITest::Extension::UITechnologyElement ^ element);
public abstract bool IsBrowserWindow (Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement element);
abstract member IsBrowserWindow : Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement -> bool
Public MustOverride Function IsBrowserWindow (element As UITechnologyElement) As Boolean
Parameters
- element
- UITechnologyElement
An IUITechnologyElement object.
Returns
true if the provided element is a browser window; otherwise, false.
Applies to
IsBrowserWindow(String)
Determines whether the specified class represents a Web browser window.
public:
abstract bool IsBrowserWindow(System::String ^ className);
public abstract bool IsBrowserWindow (string className);
abstract member IsBrowserWindow : string -> bool
Public MustOverride Function IsBrowserWindow (className As String) As Boolean
Parameters
- className
- String
The name of a class.
Returns
true if the provided class represents a browser window; otherwise, false.