Reputation: 1
Is there any way to turn off screenshots (app.Screenshot()) on Test Cloud without removing the code?
I want to turn off screenshots on demand, preferably with some command line parameter i.e "testcloud.exe --someparameter".
Is there any way to do this?
Upvotes: 0
Views: 152
Reputation: 4466
In your AppInitializer
file, you can remove .EnableLocalScreenshots()
for each platform
if (platform == Platform.Android)
{
return ConfigureApp.Android
.EnableLocalScreenshots()
.StartApp();
}
Upvotes: 0