externalTakeScreenshot
Hierarchy
- Interaction
- TakeScreenshot
Index
Methods
staticexternalof
Instantiates this
Interaction
.Parameters
externalname: Answerable<string>
The name to give the emitted artifact
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
Parameters
externalactor: UsesAbilities & AnswersQuestions & CollectsArtifacts
Returns Promise<void>
Instructs an actor who has the ability to
BrowseTheWeb
to take a screenshot and emit an artifact, which can then be persisted byArtifactArchiver
and reported by Serenity BDD reporter.Taking a screenshot
Learn more
BrowseTheWeb
CollectsArtifacts
ArtifactArchiver