TargetLocator class Null safety

Constructors

TargetLocator(WebDriver _driver, SyncRequestClient _client, WebDriverHandler _handler)

Properties

alert Alert
Switches to the currently active modal dialog for this particular driver instance.
read-only
hashCode int
The hash code for this object.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

frame([dynamic frame]) → void
Changes focus to another frame on the page. If frame is a: int: select by its zero-based index WebElement: select the frame for a previously found frame or iframe element. String: same as above, but only CSS id is provided. Note that this is not element id or frame id. not provided: selects the first frame on the page or the main document.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
parentFrame() → void
Changes focus to the parent frame of the current one.
toString() String
A string representation of this object.
override
window(Window window) → void
Switches the focus of void commands for this driver to the window with the given name/handle.

Operators

operator ==(Object other) bool
The equality operator.
override