The Selenium By
for this query.
Returns the first Element
selected by this query, or throws TestFailedException
if no Element
is selected.
Returns the first Element
selected by this query, or throws TestFailedException
if no Element
is selected.
The class of the Element
returned will be a subtype of Element
if appropriate.
For example, if this query selects a text field, the class of the returned Element
will
be TextField
.
the WebDriver
with which to drive the browser
the Element
selected by this query
TestFailedException
if nothing is selected by this query
Returns an Iterator
over all Element
s selected by this query.
Returns an Iterator
over all Element
s selected by this query.
The class of the Element
s produced by the returned Iterator
will be a
subtypes of Element
if appropriate. For example, if an Element
representing
a text field is returned by the Iterator
, the class of the returned Element
will
be TextField
.
If no Elements
are selected by this query, this method will return an empty Iterator
will be returned.
the WebDriver
with which to drive the browser
the Iterator
over all Element
s selected by this query
Returns the first Element
selected by this query, wrapped in a Some
, or None
if no Element
is selected.
Returns the first Element
selected by this query, wrapped in a Some
, or None
if no Element
is selected.
The class of the Element
returned will be a subtype of Element
if appropriate.
For example, if this query selects a text field, the class of the returned Element
will
be TextField
.
the WebDriver
with which to drive the browser
the Element
selected by this query, wrapped in a Some
, or None
if
no Element
is selected
the query string for this query.
Returns the first WebElement
selected by this query, or throws TestFailedException
if no WebElement
is selected.
Returns the first WebElement
selected by this query, or throws TestFailedException
if no WebElement
is selected.
the WebDriver
with which to drive the browser
the WebElement
selected by this query
TestFailedException
if nothing is selected by this query
A name query.
This class enables syntax such as the following:
the query string for this query.