TargetLocator class


TargetLocator(WebDriver _driver, SyncRequestClient _client, WebDriverHandler _handler)


alert Alert
Switches to the currently active modal dialog for this particular driver instance.
no setter
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


frame([Object? 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 nonexistent method or property is accessed.
parentFrame() → void
Changes focus to the parent frame of the current one.
toString() String
A string representation of this object.
window(Window window) → void
Switches the focus of void commands for this driver to the window with the given name/handle.


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