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

geckodriver-helper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

geckodriver-helper

  • 0.24.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

geckodriver-helper

Build status

Easy installation and use of geckodriver, that provides the HTTP API described by the WebDriver protocol to communicate with Gecko browsers, such as Firefox.

Description

geckodriver-helper installs an executable, geckodriver, in your gem path.

This script will, if necessary, download the appropriate binary for your platform and install it into ~/.geckodriver-helper, then exec it.

Usage

If you're using Bundler and Capybara, it's as easy as:

# Gemfile
gem 'geckodriver-helper'

then, in your specs:

Capybara.register_driver :selenium do |app|
  Capybara::Selenium::Driver.new(app, :browser => :firefox)
end

Updating Geckodriver

If you'd like to force-upgrade to the latest version of geckodriver, run the script gecko_updater

License

MIT licensed, see LICENSE.txt for full details.

Credit

The idea and some features comes from @flavorjones's project chromedriver-helper. That saves setup time and works pretty good from the box.

FAQs

Package last updated on 23 Jun 2019

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