O'Reilly logo
  • karthikeya govindaraj senthil arumugam thinks this is interesting:

If you choose the FILE format, it writes the data into a .png file, which will be deleted once the JVM is killed. So, you should always copy that file into a safe location so that it can be used for later reference.


Cover of Selenium WebDriver Practical Guide


Saving screenshot when using takesScreenshot