Applitools Eyes SDK Skeleton test
... | |
try { | |
// Start the test and set the browser's viewport size to 800x600. | |
await eyes.open(driver, "Testing Wikipedia with Applitools and Selenium", "Search for Software Testing", { | |
width: 1400, | |
height: 800 | |
}); | |
... | |
... | |
// End the test. | |
await eyes.close(); | |
} finally { | |
// Close the browser. | |
await driver.quit(); | |
// If the test was aborted before eyes.close was called ends the test as aborted. | |
await eyes.abortIfNotClosed(); | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment