AbstractStaticallFinds all components that match a given selector.
The driver to search.
The model to construct.
The optional selector to query. If this is falsy, the the component model internal selector is used.
A list of component models that match the selector.
StaticcssQueries the driver by a specific css selector and returns the first item found.
The root driver to query.
The model type to construct using the child driver.
The css target selector that describes the root of the CircusComponentModel
A new instance of CircusComponentModel. If no target is found, then this method rejects with an Error.
StaticfirstReturns the first discovered component model that matches the inner Selector.
The driver to query.
The component model to construct.
Optionalname: stringThe optional name. If this is falsy, then the basic selector is used, otherwise the first component that matches the selector that also has a "name" or "data-name" attribute with the matching value.
A new instance of CircusComponentModel. If no target is found, then this method rejects with an Error.
StaticoptionalSame as first, but returns null if no such component exists.
The driver to query.
The component model to construct.
Optionalname: stringThe optional name.
The first component that matches or null if no such component exists.
Represents a by query language to query the driver by selectors.