We can use this code in selenium testing to take snap shots while execution