The ITargetLocator type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
![]() | ActiveElement |
Switches to the element that currently has the focus, or the body element
if no element with focus can be detected.
|
![]() | Alert |
Switches to the currently active modal dialog for this particular driver instance.
|
![]() | DefaultContent |
Selects either the first frame on the page or the main document when a page contains iFrames.
|
![]() | Frame(Int32) |
Select a frame by its (zero-based) index.
|
![]() | Frame(String) |
Select a frame by its name or ID.
|
![]() | Frame(IWebElement) |
Select a frame using its previously located IWebElement |
![]() | Window |
Switches the focus of future commands for this driver to the window with the given name.
|
See Also