PageElementsLocator <Native_Element_Type>
Hierarchy
- Question<Promise<PageElement<Native_Element_Type>[]>>
- PageElementsLocator
Implements
- ChainableMetaQuestion<PageElement<Native_Element_Type>, Question<Promise<PageElement<Native_Element_Type>[]>>>
Index
Constructors
Methods
Constructors
constructor
Type parameters
- Native_Element_Type = any
Parameters
locator: Answerable<Locator<Native_Element_Type, any>>
Returns PageElementsLocator<Native_Element_Type>
Methods
staticfromDocumentRoot
Type parameters
- NET
Parameters
selector: Answerable<Selector>
Returns PageElementsLocator<NET>
as
Type parameters
- O
Parameters
mapping: (answer: PageElement<Native_Element_Type>[]) => O | Promise<O>
Returns QuestionAdapter<O>
of
Parameters
parent: Answerable<PageElement<Native_Element_Type>>
Returns Question<Promise<PageElement<Native_Element_Type>[]>> & ChainableMetaQuestion<PageElement<Native_Element_Type>, Question<Promise<PageElement<Native_Element_Type>[]>>>
answeredBy
Parameters
actor: AnswersQuestions & UsesAbilities
Returns Promise<PageElement<Native_Element_Type>[]>
describedAs
Parameters
subject: string
Returns PageElementsLocator<Native_Element_Type>
toString
Returns string
Maps this question to one of a different type.