UsageThe sample below and others are included in the example directory. You may also find the tests for selenium-webdriver informative. const { Builder, Browser, By, Key, until } = require('selenium-webdriver') ;(async function example() { let driver = await new Builder().forBrowser(Browser.FIREFOX).build() try { await driver.get('https://www.google.com/ncr') await driver.findElement(By.name('q'))