Table of Contents

Namespace CSF.Screenplay.Selenium.Questions

Classes

ElementCollectionPerformableWithResultAdapter

Static helper methods for creating instances of ElementCollectionPerformableWithResultAdapter<TResult>.

ElementCollectionPerformableWithResultAdapter<TResult>

Adapter class which allows a IElementCollectionPerformableWithResult<TResult> to be used as an IPerformableWithResult<TResult>.

ElementCollectionQuery

Provides a factory method for creating instances of ElementCollectionQuery<TResult>.

ElementCollectionQuery<TResult>

A question which reads or observes the state from a collection of HTML elements and returns the results.

ExecuteJavaScriptAndGetResult<TResult>

A question which executes some arbitrary JavaScript in the web browser and returns the result returned by that script.

FilterElements

A question which filters a collection of elements by specified criteria, getting a new collection which contains only those which match.

FilterSpecification<T>

A specification class which matches elements based upon the value of a query and a specification for that value.

FindElement

A question which searches for an HTML element that matches some criteria, optionally within a specified target, returning the element it finds as a SeleniumElement.

FindElements

A question which searches for HTML elements that matche some criteria, optionally within a specified target, returning the results as a SeleniumElementCollection.

GetWindowTitle

A question which reads and returns the title of the current browser window.

SingleElementPerformableWithResultAdapter

Static helper methods for creating instances of SingleElementPerformableWithResultAdapter<TResult>.

SingleElementPerformableWithResultAdapter<TResult>

Adapter class which allows a ISingleElementPerformableWithResult<TResult> to be used as an IPerformableWithResult<TResult>.

SingleElementQuery

Provides a factory method for creating instances of SingleElementQuery<TResult>.

SingleElementQuery<TResult>

A question which reads or observes the state of a single HTML element and returns the result.

TakeScreenshot

A question which represents an actor taking a screenshot of the current web page.

Interfaces

IElementCollectionPerformableWithResult<TResult>

Similar to IPerformableWithResult<TResult> but provides access to a Selenium WebDriver and a collection of Selenium elements.

ISingleElementPerformableWithResult<TResult>

Similar to IPerformableWithResult<TResult> but provides access to a Selenium WebDriver and a Selenium element.