Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Build a Selenium WebDriver object
const { Builder, Capabilities, By } = require("selenium-webdriver");
const { Eyes, ConsoleLogHandler } = require("@applitools/eyes-selenium");
(async () => {
// Open a Chrome browser
const driver = new Builder().withCapabilities(;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment