webStageTakePhotosOfInteractionsOn this pageTakePhotosOfInteractions Configures the Photographer to take photos (a.k.a. screenshots) when then Actor in the spotlight performs any Interaction. This strategy works best when you want the results of your automated tests to become comprehensive living documentation of your system. Please note that taking screenshots affects the performance of your tests.HierarchyPhotoTakingStrategyTakePhotosOfInteractionsIndex ConstructorsconstructorMethodsconsiderTakingPhotoConstructors constructornew TakePhotosOfInteractions(): TakePhotosOfInteractionsReturns TakePhotosOfInteractionsMethods 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) when then Actor in the spotlight performs any Interaction.
This strategy works best when you want the results of your automated tests to become comprehensive living documentation of your system.
Please note that taking screenshots affects the performance of your tests.