Class ElementCollectionQuery
- Namespace
- CSF.Screenplay.Selenium.Questions
- Assembly
- CSF.Screenplay.Selenium.dll
Provides a factory method for creating instances of ElementCollectionQuery<TResult>.
public static class ElementCollectionQuery
- Inheritance
-
ElementCollectionQuery
- Inherited Members
Methods
From<TResult>(IQuery<TResult>)
Creates a new instance of ElementCollectionQuery<TResult> with the specified query.
public static ElementCollectionQuery<TResult> From<TResult>(IQuery<TResult> query)
Parameters
queryIQuery<TResult>The query to be used for retrieving the value from each Selenium element.
Returns
- ElementCollectionQuery<TResult>
A new instance of SingleElementQuery<TResult>.
Type Parameters
TResultThe type of the result returned by the query.