How to use the Options function from selenium-webdriver
Find comprehensive JavaScript selenium-webdriver.Options code examples handpicked from public code repositorys.
1 2 3 4 5 6 7 8 9 10
const { ServiceBuilder } = require('selenium-webdriver/firefox'); async function createDriver (url) { let driver = await new Builder().forBrowser(Browser.FIREFOX).build(); const serviceBuilder = new ServiceBuilder(""); /* const options = new Options(driver); options.binary_location = '/var/lib/flatpak/app/org.mozilla.firefox/x86_64/stable/9c4d1797620e52ab380ffcbbff9a947ccb39695a8ca14e44935d9578d5c88b6d/files/lib/firefox/'; */ await driver.get(url); return driver;
0
0
0
selenium-webdriver.Builder is the most popular function in selenium-webdriver (1701 examples)