By class

Constructors

By(String using, String value)
const
By.className(String className)
Returns an element whose class name contains the search value; compound class names are not permitted
const
By.cssSelector(String cssSelector)
Returns an element matching a CSS selector.
const
By.id(String id)
Returns an element whose ID attribute matches the search value.
const
By.linkText(String linkText)
Returns an anchor element whose visible text matches the search value.
const
By.name(String name)
Returns an element whose NAME attribute matches the search value.
const
By.partialLinkText(String partialLinkText)
Returns an anchor element whose visible text partially matches the search value.
const
By.tagName(String tagName)
Returns an element whose tag name matches the search value.
const
By.xpath(String xpath)
Returns an element matching an XPath expression.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
using String
final
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, String>
toString() String
A string representation of this object.
override

Operators

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