Skip to content

Instantly share code, notes, and snippets.

@dannyshain
Created September 15, 2021 20:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dannyshain/fa3aec57e6bd54150d2e4f1daf6e2ca2 to your computer and use it in GitHub Desktop.
Save dannyshain/fa3aec57e6bd54150d2e4f1daf6e2ca2 to your computer and use it in GitHub Desktop.
String apiKey = System.getenv("APPLITOOLS_API_KEY");
eyes.setApiKey(apiKey);
String batchName = null;
String batchId = System.getenv("APPLITOOLS_BATCH_ID");
BatchInfo batchInfo = new BatchInfo(batchName);
batchInfo.setId(batchId);
eyes.setBatch(batchInfo);
eyes.setForceFullPageScreenshot(false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment