Take Screen Shot

This method is used to take the screenshot with the provided screenshotName. And the saving location of the file can be set through Mobile Settings. Screenshot will be saved with the time stamp appended to it and the format of the screenshot is PNG

Syntax :