By class Null safety

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.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
using String
final
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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