Configure and Take Screenshots

By default, mobile screenshots are enabled on the agent-side but disabled on the Controller-side. These screenshots appear in the Controller in the Sessions Details dialog. To programmatically take manual screenshots, you mustenable screenshots in the Controller UI and add the Screenshot API below.

CODE
Instrumentation.TakeScreenshot();Disable Screenshots
Note: The takeScreenshot() function limits screenshots to a maximum of 1 screenshot per 10 seconds.