web.takeScreenShot()

When I use take screen shot command, to what directory does it save the picture??

1 Like

That’s actually a mistake in the documentation. web.takeScreenshot wasn’t supposed to be accessible from scripts (it’s used internally when script fails).
But we will fix it to work from scripts too…

1 Like

Hello romovs,

Instead of making it not accessible.
Please make web.takeScreenshot() available to us and when ever the keyword is used to take screenshot.
Please help to append that screenshot in the report.

That would be much helpful if we want screenshots in the report generated.

2 Likes

Sounds like a good feature request for improvement. @romovs Has it been added yet?
@Eran_Damelin1 @Eran_Damelin
http://discuss.oxygenhq.org/c/feature-requests

1 Like