Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const {Eyes} = require('eyes.selenium')
let eyes
before(async () => {
eyes = new Eyes()
eyes.setApiKey(process.env.APPLITOOLS_APIKEY)
await eyes.open(driver, 'Calculator App', 'Tests', {width: 800, height: 600})
})
after(async () => await eyes.close())
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.