webdriver
npmv9.31.7TypeScriptA 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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
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'])webdriver vs the alternatives
Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| webdriverthis page | 0 | 1 | MIT | 2 days ago |
| webdriverio | 0 | 3 | MIT | 14 hours ago |
| @wdio/repl | 0 | 1 | MIT | 15 hours ago |
| @wdio/types | 0 | 5 | MIT | 17 hours ago |
| @wdio/utils | 0 | 3 | MIT | 15 hours ago |
| @wdio/config | 0 | 2 | MIT | 15 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
A high-level API to control headless Chrome over the DevTools Protocol
Check if a value is a plain object
The fast, flexible & elegant library for parsing and manipulating HTML and XML.
A simple list of CSS shorthand properties and which longhand properties they expand to
Create, read and edit .zip files with JavaScript http://stuartk.com/jszip
The lodash method `_.cloneDeep` exported as a module.
TypeScript definitions for @sinonjs/fake-timers
Utility package providing type information for a variety of WebdriverIO interfaces
A WDIO helper utility to provide several utility functions used across the project.
CSS value parser
React Element Selector Query (resq) - Query React components and children by selector (component name)
lightweight rgb/rgba to hex parser
Release history
50 releases in the last two years, typically about 8 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 9.31.7latest | 2 days ago | 410 KB | MIT |
| 9.31.6 | 3 days ago | 410 KB | MIT |
| 9.31.5 | 11 days ago | 410 KB | MIT |
| 9.31.4 | 13 days ago | 410 KB | MIT |
| 9.31.2 | 20 days ago | 409 KB | MIT |
| 9.31.1 | 22 days ago | 409 KB | MIT |
| 9.30.1 | 1 month ago | 409 KB | MIT |
| 9.30.0 | 1 month ago | 405 KB | MIT |
| 9.29.1 | 2 months ago | 406 KB | MIT |
| 9.29.0 | 2 months ago | 406 KB | MIT |
| 9.28.0 | 3 months ago | 406 KB | MIT |
| 9.27.2 | 3 months ago | 399 KB | MIT |
| 9.27.1 | 4 months ago | 402 KB | MIT |
| 9.27.0 | 5 months ago | 349 KB | MIT |
| 9.26.1 | 5 months ago | 349 KB | MIT |
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.