Socket
Book a DemoInstallSign in
Socket

chromedriver_update

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromedriver_update

0.3.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

chromedriver_update

Gem downloads License: MIT

Update an existing installation of chromedriver fitting to the current installed version of chrome. Available for Ruby and as CLI command as well.

Very basic tool, to ensure, that the current chromedriver is up to date to the current installed Chrome. Automatically fetches the same driver version or the latest version below, to ensure it will work with the current installed chrome version.

The installed chromedriver is replaced with the new version. So it must have been setup already and added to the PATH environment variable to use this script from then.

Implemented for Linux, Windows and Mac.

Contents

Installation

Ruby

Add this line to your application's Gemfile:

gem 'chromedriver_update'

And then execute:

bundle install

Command line

If you just want to use the command line then run

gem install chromedriver_update

Of course you need to have installed Ruby on your system and set the PATH variable, to have access to Ruby commands like ruby or gem.

Usage

Example

require 'chromedriver_update'

ChromedriverUpdate.auto_update_chromedriver

Command line

chromedriver_update is also available on the command line after installation.

Example

Run on the command line

chromedriver_update
# => Updated Chromedriver from '123.0.0' to '124.0.0'! Chrome is '124.0.1'.

Options

    chromedriver_update               # automatically update the current chromedriver version fitting to the currently installed chrome
    chromedriver_update -f --force    # force automatic update, even if the latest version is already installed
    chromedriver_update -h --help     # show this info
    chromedriver_update -s --status   # list current and available version(s) of chromedriver and chrome
    chromedriver_update -v --version  # show the current version of chromedriver_update

Documentation

For more details have a look at the rubydoc at https://www.rubydoc.info/gems/chromedriver_update

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/magynhard/chromedriver_update. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

FAQs

Package last updated on 29 Jan 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.