Refactored the screenshot capture code
Merge branch 'master' of https://github.com/vijaynyayapati/webdriver-with-gradle