Share via


BrowserService.TopLevelWindow Property

Gets the top-level window of the browser.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property TopLevelWindow As UITechnologyElement
public abstract UITechnologyElement TopLevelWindow { get; }
public:
virtual property UITechnologyElement^ TopLevelWindow {
    UITechnologyElement^ get () abstract;
}
abstract TopLevelWindow : UITechnologyElement with get
abstract function get TopLevelWindow () : UITechnologyElement

Property Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
The top-level window of the browser.

.NET Framework Security

See Also

Reference

BrowserService Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace