Skip to content

Instantly share code, notes, and snippets.

Embed
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(Capabilities.chrome()).build();
})();
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.