Skip to content

chore: bump browser-driver-manager from 1.0.4 to 2.0.1#199

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/browser-driver-manager-2.0.1
Open

chore: bump browser-driver-manager from 1.0.4 to 2.0.1#199
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/browser-driver-manager-2.0.1

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 24, 2026

Bumps browser-driver-manager from 1.0.4 to 2.0.1.

Release notes

Sourced from browser-driver-manager's releases.

v2.0.1

  • fix: sync package.json dependencies to match actual dependencies @​dbjorge

v2.0.0

Breaking Change

V1 use to detect the version of Chrome installed on the system and install the corresponding version of the chromedriver npm package. However this had problems as the chromedriver package wasn't always up-to-date with the latest version so when Chrome updated to the next version, the chromedriver package could lag behind and still cause out-of-sync issues. Additionally the chromedriver package didn't always have the latest versions of non-stable channels so asking for Chrome Canary wasn't always reliable.

V2 uses the newly released Chrome for Testing to manage Chrome. This enables both installing specific versions of Chrome and fixes the previous chromedriver package issue. V2 utilizes the puppeteer/browser script to manage the installation of Chrome and Chromedriver as it can handle downloading the binaries (and the multiple changes to the chromedriver download URL). This means that v2 no longer uses the chromedriver npm package to get chromedriver.

Once installed, a directory is created in your home directory called .browser-driver-manager. The directory will contain a .env file which will list the install path of both Chrome and Chromedriver under CHROME_TEST_PATH and CHROMEDRIVER_TEST_PATH respectively.

# ~/.browser-driver-manager/.env
CHROME_TEST_PATH="~/.browser-driver-manager/chrome/mac_arm-125.0.6422.141/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing"
CHROMEDRIVER_TEST_PATH="~/.browser-driver-manager/chromedriver/mac_arm-125.0.6422.141/chromedriver-mac-arm64/chromedriver"

This means in v2 you'll need to grab the Chromedriver path from the ~/.browser-driver-manager/.env file and not from the chromedriver npm package. Additionally, you'll need to grab the Chrome path pass the path to any browser driver, such as Webdriver.

Here's an example of grabbing the Chromedriver path in v1 and the change for v2.

// v1
const chromedriver = require('chromedriver');
console.log(chromedriver.path);
// v2
require('dotenv').config({ path: '.browser-driver-manager/.env' })
console.log(process.env.CHROMEDRIVER_TEST_PATH);

Commits
  • 53ebb4f 2.0.1
  • bc65dd2 fix: sync package.json dependencies to match actual dependencies (#15)
  • f5c172b Update README.md
  • 70d77ba docs: fix typo again
  • 03ad4da docs: fix typo
  • c3c8b57 2.0.0
  • 4f8a55d docs: add migration guide
  • 2e2ed52 feat: allow @ and = to specify version
  • 469d008 feat: use node and @​puppeteer/browsers to install and sync Chrome and ChromeD...
  • c610d9c docs: add keywords to package file (#8)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 24, 2026
Bumps [browser-driver-manager](https://github.com/straker/browser-driver-manager) from 1.0.4 to 2.0.1.
- [Release notes](https://github.com/straker/browser-driver-manager/releases)
- [Commits](straker/browser-driver-manager@v1.0.4...v2.0.1)

---
updated-dependencies:
- dependency-name: browser-driver-manager
  dependency-version: 2.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/browser-driver-manager-2.0.1 branch from 0860309 to e925707 Compare February 26, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants