Initializes a new instance of this object.
The underlying web driver.
The search context.
Returns an attribute of the driver.
The attribute to retrieve.
The attribute value, or null if no such value exists.
Returns an attribute of the driver.
The attribute to retrieve.
The attribute value, or null if no such value exists.
Jumps to the body element.
This is useful if you are opening modals and popups that don't exist from withing the driver context.
A new driver that contains the document body as the context.
Returns a list of classes on the driver context that match a given filter.
Optionalfilter: string[]The filter of classes you want to check for. If you just want to get all classes, then just use undefined here.
The list of classes that match the filter.
Jumps to the focused element.
A new driver that contains the focused element, or null if there is no element focused.
Performs an action against the driver context.
The act to perform.
Selects all items under this driver that matches the css selector.
The selector to query.
A promise that resolves with all items found from the selector. If no items are found, then an empty array is returned.
Selects a single item under the driver that matches the css selector.
The selector to query.
A resolved promise with the first item found if the selector produces one or more results. Returns a rejected promise if the selector returns no items.
Gets the underlying value of the driver context.
The fallback value in the case that the driver does not support a value.
The underlying value of the driver context, or fallback if the driver does not support a value.
Gets the underlying value of the driver context.
The underlying value of the driver context, or fallback if the driver does not support a value.
Waits for a certain condition to be met before continuing.
The predicate to wait for.
Optionaloptions: IZCircusWaitOptionsThe options for the wait.
Represents the circus driver for selenium actions.