Skip to content

Instantly share code, notes, and snippets.

@batmi02 batmi02/BasePage.cs
Created May 23, 2019

Embed
What would you like to do?
Abel's code for initiating Applitools Eyes
// initialize the eyes SDK and set your private API key
var eyes = new Eyes();
eyes.ApiKey = appliToolsKey;
eyes.Batch = batchInfo;
// Start the test by setting AUT's name, window or the page name that's being tested,
//viewport width and height
TESTNAME = testName;
eyes.Open(driver, "Mercury Health Web App", TESTNAME, WINDOWSIZE);
// set the window size of the browser and browse to the home page
driver.Manage().Window.Size = WINDOWSIZE;
return new HomePage(driver, eyes);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.