externalTakePhotosBeforeAndAfterInteractions
Hierarchy
- PhotoTakingStrategy- TakePhotosBeforeAndAfterInteractions
 
Index
Constructors
Methods
Constructors
externalconstructor
Methods
externalconsiderTakingPhoto
- Parameters- externalevent: ActivityStarts | ActivityFinished
- externalstage: Stage- The Stage that holds reference to the Actor in the spotlight 
 - Returns Promise<void>
Configures the
Photographerto take photos (a.k.a. screenshots) both before and after every singleInteractionperformed by theActorin the spotlight.Please note that this strategy will result in a lot of screenshots being taken, which will seriously affect the performance of your tests. For this reason, it's best to use it only for debugging purposes.