A named set of elements pulled out of a page.
Value parameters
- elements
-
the matches, in document order
- name
-
what the selection is called in failure messages
- selector
-
the CSS selector that produced it, also for failure messages
Attributes
- Companion
- object
- Source
- Selection.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
The match at this position in document order.
The first match's value for this attribute, when it has one.
Every match's value for this attribute, empty ones left out.
The first match's classes.
Only the matches whose text contains this, after normalisation.
Only the matches satisfying a predicate.
Whether any match carries this class.
The first match, if there is one.
Inner HTML of the first match.
The first match's id, if it has one.
Every match's id.
Whether nothing matched.
Whether anything matched.
Narrow this selection with a further CSS selector.
How many elements matched.
Combined, normalised text of every matched element.
Normalised text of each matched element, in document order.
Returns a string representation of the object.
Returns a string representation of the object.
The default representation is platform dependent.
Attributes
- Returns
-
a string representation of the object.
- Definition Classes
-
Any
- Source
- Selection.scala
Concrete fields
Attributes
- Source
- Selection.scala
Attributes
- Source
- Selection.scala
Attributes
- Source
- Selection.scala