</>PackageGraphPackageGraph

webdriver

npmv9.31.7TypeScript

A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol

Adopt with care

webdriver is usable, with caveats. Pulls in 70 transitive packages, about 22 MB installed (at least — some of the tree is still being crawled).

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • AMaintenance: grade A, Excellent.

    Last published 2 days ago. 50 releases in the last 2 years.

  • DWeight: grade D, Poor — a real concern.

    Pulls in 70 transitive packages, about 22 MB installed (at least — some of the tree is still being crawled).

  • ASupply chain: grade A, Excellent.

    No install scripts, 3 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding webdriver to a project.

11
Direct dependencies

Runtime packages this one declares itself.

70
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

22 MB
Install size

Unpacked size of this package plus its entire runtime tree.

5
Tree depth

Longest resolved dependency chain below this package.

Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.

Licenses in the dependency tree

(MIT OR CC0-1.0)Apache-2.0BSD-3-ClauseBlueOak-1.0.0ISCMIT

Every license you inherit by installing webdriver, not just its own. Check this before a legal review, not after.

Compatibility

Node.js
node >=18.20.0
Module format
ESM + CommonJS
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the webdriver README.

import WebDriver from 'webdriver';

const client = await WebDriver.newSession({
    path: '/',
    capabilities: { browserName: 'firefox' }
})

await client.navigateTo('https://www.google.com/ncr')

const searchInput = await client.findElement('css selector', '#lst-ib')
await client.elementSendKeys(searchInput['element-6066-11e4-a52e-4f735466cecf'], 'WebDriver')

const searchBtn = await client.findElement('css selector', 'input[value="Google Search"]')
await client.elementClick(searchBtn['element-6066-11e4-a52e-4f735466cecf'])
Example truncated — see the full README.

webdriver vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
webdriverthis page01MIT2 days ago
webdriverio03MIT14 hours ago
@wdio/repl01MIT15 hours ago
@wdio/types05MIT17 hours ago
@wdio/utils03MIT15 hours ago
@wdio/config02MIT15 hours ago

Dependencies

Declared by webdriver v9.31.7. Runtime dependencies are installed with the package; dev dependencies are not.

Used by

Popular packages that depend on webdriver.

Relationship graph

Dependencies (left) and dependents (right) of webdriver.

Frequently installed together

Release history

50 releases in the last two years, typically about 8 days apart.

Recent versions of webdriver
VersionPublishedSizeLicense
9.31.7latest2 days ago410 KBMIT
9.31.63 days ago410 KBMIT
9.31.511 days ago410 KBMIT
9.31.413 days ago410 KBMIT
9.31.220 days ago409 KBMIT
9.31.122 days ago409 KBMIT
9.30.11 month ago409 KBMIT
9.30.01 month ago405 KBMIT
9.29.12 months ago406 KBMIT
9.29.02 months ago406 KBMIT
9.28.03 months ago406 KBMIT
9.27.23 months ago399 KBMIT
9.27.14 months ago402 KBMIT
9.27.05 months ago349 KBMIT
9.26.15 months ago349 KBMIT

Overview

webdriver is an npm package that a Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol. It has 1 known dependents in the graph. The latest version is 9.31.7, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need a Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use webdriver?

webdriver is usable, with caveats. Pulls in 70 transitive packages, about 22 MB installed (at least — some of the tree is still being crawled).

How do I install webdriver?

Run `npm install webdriver` to add webdriver to your npm project.

How many dependencies does webdriver have?

webdriver declares 11 direct dependencies and pulls in 70 packages in total once its runtime tree is resolved totalling about 22 MB on disk.

What license is webdriver released under?

webdriver is distributed under the MIT license. Its dependency tree also includes: (MIT OR CC0-1.0), Apache-2.0, BSD-3-Clause, BlueOak-1.0.0, ISC, MIT.

How popular is webdriver?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on webdriver.

Is webdriver still maintained?

The most recent release of webdriver (v9.31.7) was published 2 days ago.

Does webdriver run install scripts?

No. webdriver does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.