Skip to main content

abstractPhotoTakingStrategy

Configures the Photographer to take photos, a.k.a. screenshots, of the Activity performed by the Actor in the spotlight when desired conditions are met.

Hierarchy

Index

Constructors

constructor

Methods

considerTakingPhoto

  • considerTakingPhoto(event: ActivityStarts | ActivityFinished, stage: Stage): Promise<void>
  • Takes a photo of the web browser used by the Actor in the spotlight.

    Learn more


    Parameters

    • event: ActivityStarts | ActivityFinished
    • stage: Stage

      The Stage that holds reference to the Actor in the spotlight

    Returns Promise<void>