Skip to content

Instantly share code, notes, and snippets.

@dannyshain
Created September 15, 2021 20:21
Show Gist options
  • 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