Scroll
Hierarchy
- Interaction
- Scroll
Index
Methods
staticto
Instantiates this Interaction.
Parameters
pageElement: Answerable<PageElement<any>>
The element to scroll to
Returns Scroll
instantiationLocation
Returns the location where this Activity was instantiated.
Returns FileSystemLocation
toString
Generates a human-friendly description to be used when reporting this Activity.
Note: When this activity is reported, token
#actor
in the description will be replaced with the name of the actor performing this Activity.For example,
#actor clicks on a button
becomesWendy clicks on a button
.Returns string
performAs
Parameters
actor: UsesAbilities & AnswersQuestions
Returns Promise<void>
Instructs an actor who has the ability to BrowseTheWeb to scroll until a given PageElement comes into view.
Example widget
Lean Page Object describing the widget
Scrolling to element
Learn more