Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following code sample uses the driver's getScreenshotAs method that captures a screenshot of the device and then FileUtils.copyFile to copy the screenshot to a local file.

...