webStagePhotoTakingStrategyOn this pageabstractPhotoTakingStrategy 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.HierarchyPhotoTakingStrategyTakePhotosBeforeAndAfterInteractionsTakePhotosOfFailuresTakePhotosOfInteractionsIndex ConstructorsconstructorMethodsconsiderTakingPhotoConstructors constructornew PhotoTakingStrategy(): PhotoTakingStrategyReturns PhotoTakingStrategyMethods considerTakingPhotoconsiderTakingPhoto(event: ActivityStarts | ActivityFinished, stage: Stage): Promise<void>Takes a photo of the web browser used by the Actor in the spotlight. Learn moreActivityStartsActivityFinishedStageParametersevent: ActivityStarts | ActivityFinishedstage: StageThe Stage that holds reference to the Actor in the spotlightReturns Promise<void>
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.