ITargetLocator MembersWebDriver

The ITargetLocator type exposes the following members.
Methods

  NameDescription
Public methodActiveElement
Switches to the element that currently has the focus, or the body element if no element with focus can be detected.
Public methodAlert
Switches to the currently active modal dialog for this particular driver instance.
Public methodDefaultContent
Selects either the first frame on the page or the main document when a page contains iFrames.
Public methodFrame(Int32)
Select a frame by its (zero-based) index.
Public methodFrame(String)
Select a frame by its name or ID.
Public methodFrame(IWebElement)
Select a frame using its previously located IWebElement
Public methodWindow
Switches the focus of future commands for this driver to the window with the given name.
Back to Top
See Also