Nonagons Please Me

    @sitespeed.io/geckodriver

    0.31.0-c • Public • Published

    GECKO# Geckodriver

    This is a simple package that downloads Geckodriver and provides a node api for accessing the path to the binary. With this package we try to minimize dependencies.

    How to use?

    const driver = require('@sitespeed.io/geckodriver');
    
    const binPath = driver.binPath();
    // launch geckodriver from binPath

    You can override where you download the Geckodriver by setting process.env.GECKODRIVER_BASE_URL. You can skip donwloading Geckodriver by setting process.env.GECKODRIVER_SKIP_DOWNLOAD.

    You can download another Geckodriver version by setting process.env.GECKODRIVER_VERSION.

    GECKODRIVER_VERSION=0.26.0 node install.js
    

    If you don't set a version, the version in the package.json is used.

    Install

    npm i @sitespeed.io/geckodriver

    DownloadsWeekly Downloads

    2,861

    Version

    0.31.0-c

    License

    MIT

    Unpacked Size

    7.69 kB

    Total Files

    4

    Last publish

    Collaborators

    • tobli
    • soulgalore
    • beenanner