externalRightClick
Hierarchy
- PageElementInteraction
- RightClick
Index
Methods
staticexternalon
Instantiates this
Interaction
.Parameters
externalpageElement: Answerable<PageElement<any>>
The element to be right-clicked on
Returns Interaction
externalinstantiationLocation
Returns the location where this
Activity
was instantiated.Returns FileSystemLocation
externaldescribedBy
Resolves the description of this object in the context of the provided
actor
.Parameters
externalactor: AnswersQuestions & UsesAbilities & { name: string }
Returns Promise<string>
externaltoString
Returns a human-readable description of this object.
Returns string
externalperformAs
Instructs the provided
Actor
to perform thisInteraction
.Learn more
Parameters
externalactor: UsesAbilities & AnswersQuestions
Returns Promise<void>
Instructs an actor who has the ability to
BrowseTheWeb
to perform a right click on a givenPageElement
.This is typically used to open a custom context menu on a given Web element, since it's not possible to interact with the standard context menu offered by your browser.
Example widget
Lean Page Object describing the widget
Right-click on an element
Learn more
BrowseTheWeb
PageElement