How to use the geckodriver/lib/geckodriver.path function in geckodriver

To help you get started, we’ve selected a few geckodriver examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TradeMe / tractor / protractor.conf.js View on Github external
browserName: 'chrome',
        shardTestFiles: true,
        maxInstances: 2
    }, {
        browserName: 'chrome',
        shardTestFiles: true,
        maxInstances: 2,
        chromeOptions: {
            args: [
                '--headless',
                '--disable-gpu'
            ]
        }
    }],
    chromeDriver: require('chromedriver/lib/chromedriver').path,
    geckoDriver: require('geckodriver/lib/geckodriver').path,
    mochaOpts: {
        timeout: TIMEOUT
    },
    directConnect: true,
    SELENIUM_PROMISE_MANAGER: false
};

geckodriver

Mozilla's Geckodriver for Node.js

MPL-2.0
Latest version published 10 days ago

Package Health Score

71 / 100
Full package analysis