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>

An implementation of IElementCollectionPerformableWithResult<TResult> which gets the value from an IQuery<T> upon each item within a collection of Selenium elements and returns their results.

ExecuteJavaScriptAndGetResult<TResult>

An action which executes some arbitrary JavaScript in the web browser and gets a result.

FilterElements

A performable question which filters a collection of elements by specified criteria.

FilterSpecification<T>

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

FindElement

Represents a question that finds a single element within a specified target.

FindElements

Represents a question that finds a collection of elements within a specified target.

GetWindowTitle

A Screenplay question to get 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>

An implementation of ISingleElementPerformableWithResult<TResult> which gets the value from an IQuery<T> upon a single Selenium element and returns its 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.