Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the browser that is identified by the provided window handle and returns a browser service object.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride Function Locate ( _
handle As IntPtr _
) As BrowserService
public abstract BrowserService Locate(
IntPtr handle
)
public:
virtual BrowserService^ Locate(
IntPtr handle
) abstract
abstract Locate :
handle:IntPtr -> BrowserService
public abstract function Locate(
handle : IntPtr
) : BrowserService
Parameters
handle
Type: IntPtrAn IntPtr that identifies a browser window.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.BrowserService
A browser service object.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.