Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sitespeed.io/geckodriver

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sitespeed.io/geckodriver

Install and launch Geckodriver for Mac, Linux or Windows.

  • 0.35.0-1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

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.

Keywords

FAQs

Package last updated on 19 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc