Table of Contents

Interface IBuildsElementPredicates

Namespace
CSF.Screenplay.Selenium.Builders
Assembly
CSF.Screenplay.Selenium.dll

An object which may be converted into either a WaitUntilPredicate<T> or an CSF.Specifications.ISpecificationFunction<T>.

public interface IBuildsElementPredicates

Methods

GetElementSpecification()

Gets a specification function which may be used to filter Selenium elements.

ISpecificationFunction<SeleniumElement> GetElementSpecification()

Returns

ISpecificationFunction<SeleniumElement>

A specification function for Selenium elements

GetWaitUntilPredicate()

Gets a WaitUntilPredicate<T> which may be used to configure a WaitUntilPredicate<T>.

WaitUntilPredicate<bool> GetWaitUntilPredicate()

Returns

WaitUntilPredicate<bool>

A wait-until predicate object

Exceptions

InvalidOperationException

If this instance has not been initialised in a manner compatible with creating Web Driver predicates