externalEnter
Hierarchy
Index
Methods
staticexternaltheValue
Instantiates this
Interaction
.Parameters
externalrest...values: Answerable<string | number | string[] | number[]>[]
The text value to be entered
Returns { into: (field: Answerable<PageElement<any>>) => Interaction }
externalinto: (field: Answerable<PageElement<any>>) => Interaction
Parameters
externalfield: Answerable<PageElement<any>>
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 enter a value into a forminput
field.Example widget
Lean Page Object describing the widget
Entering the value into a form field
Handling sensitive information
By design, any data handled by an actor appears in Serenity/JS reports. To prevent the exposure of any sensitive information, such as passwords or tokens, you should use
Masked
.Learn more
BrowseTheWeb
PageElement