Table of Contents

Namespace CSF.Screenplay.Selenium.Actions

Classes

ClearCookies

An action which clears all browser cookies for the current site/domain.

ClearLocalStorage

An action which clears the browser's local storage for the current site.

ClearTheContents

A partial Screenplay Action which clears the contents of an HTML element.

Click

A partial Screenplay Action which clicks on an HTML element.

DeleteTheCookie

An action which deletes a specific browser cookie by name.

DeselectAll

A partial Screenplay Action which de-selects every option from an HTML <select> element.

DeselectByIndex

A partial Screenplay Action which de-selects an option from an HTML <select> element based upon that option's zero-based index (position).

DeselectByText

A partial Screenplay Action which de-selects an option from an HTML <select> element based upon that option's displayed text.

DeselectByValue

A partial Screenplay Action which de-selects an option from an HTML <select> element based upon that option's value; the value attribute.

ExecuteJavaScript

An action which sends a JavaScript string to a web browser and executes it. This action ignores the result (if any) from that script.

OpenUrl

An action which navigates to a specified URL, as if the user had entered it into the browser address bar.

SaveScreenshot

An action which saves a Selenium Screenshot object to disk as an asset file.

SelectByIndex

A partial Screenplay Action which selects an option from an HTML <select> element based upon that option's zero-based index (position).

SelectByText

A partial Screenplay Action which selects an option from an HTML <select> element based upon that option's displayed text.

SelectByValue

A partial Screenplay Action which selects an option from an HTML <select> element based upon that option's value; the value attribute.

SendKeys

A partial Screenplay Action which sends keys (enters text) to an HTML element.

SingleElementPerformableAdapter

Adapter class which allows a ISingleElementPerformable to be used as an IPerformable.

Wait

A Screenplay action which pauses the Performance until either a specified condition is met or a timeout expires, whichever occurs sooner.

WaitForSomeTime

A Screenplay action which pauses the performance for a specified amount of time.

WaitUntilPredicate

Provides methods to create wait predicates for Selenium WebDriver.

WaitUntilPredicate<T>

Represents a predicate that can be used to wait until a condition is true.

Interfaces

ISingleElementPerformable

An object which is similar to IPerformable but provides access to a Selenium WebDriver and a Selenium element.