Text
Index
Methods
Constructors
Methods
staticof
Instantiates a Question that uses the actor’s ability to BrowseTheWeb to retrieve the text of a single PageElement.
Learn more
Parameters
pageElement: Answerable<PageElement<any>>
Returns Question<Promise<string>> & Interaction & { isPresent: any } & QuestionAdapterFieldDecorator<string> & MetaQuestion<Answerable<PageElement<any>>, Promise<string>>
staticofAll
Instantiates a Question that uses the actor’s ability to BrowseTheWeb to retrieve the text of a group of PageElements.
Learn more
Parameters
pageElements: PageElements<any>
Returns Question<Promise<string[]>> & Interaction & { isPresent: any } & QuestionAdapterFieldDecorator<string[]> & MetaQuestion<Answerable<PageElement<any>>, Promise<string[]>>
Constructors
constructor
Returns Text
Uses the actor’s ability to BrowseTheWeb to retrieve the visible (i.e. not hidden by CSS)
innerText
of:The result includes the visible text of any sub-elements, without any leading or trailing whitespace.
Example widget
Retrieve text of a single PageElement
Retrieve text of multiple PageElements
Using as filter in Page Element Query Language
Learn more