webdriver-bidi-protocol
npmv0.4.3TypeScriptThis repository contains TypeScript types conforming to the [WebDriver BiDi](https://w3c.github.io/webdriver-bidi/) specification. It also supports WebDriver BiDi extension modules defined in other specifications:
Safe to adopt
Yes — webdriver-bidi-protocol scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 15 days ago. 38 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 15 days ago. 38 releases in the last 2 years.
- AWeight: grade A, Excellent.
Zero runtime dependencies, about 255 KB installed.
- ASupply chain: grade A, Excellent.
No install scripts, 2 maintainers, and a contained dependency surface.
- ALicense: grade A, Excellent.
Apache-2.0 — 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-bidi-protocol 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.
Compatibility
- Node.js
- No constraint declared
- Module format
- CommonJS only
- TypeScript
- Types included
- Install scripts
- None
Quick start
A usage example from the webdriver-bidi-protocol README.
import {Commands} from 'webdriver-bidi-protocol';
async function sendCommand<T extends keyof Commands>(
method: T,
params: Commands[T]['params']
): {result: Commands[T]['returnType']} {
// Implementation for sending the data using WebSockets.
}
// Now TypeScript validates that the params match the spec for 'browsingContext.print'.
await sendCommand('browsingContext.print', {context: 'xxx'});webdriver-bidi-protocol 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 |
|---|---|---|---|---|
| webdriver-bidi-protocolthis page | 0 | 1 | Apache-2.0 | 15 days ago |
| bser | 34M | 1 | Apache-2.0 | 1 day ago |
| @wdio/repl | 0 | 1 | MIT | 1 day ago |
| @wdio/types | 0 | 5 | MIT | 1 day ago |
| @wdio/utils | 0 | 3 | MIT | 1 day ago |
| webdriver | 0 | 1 | MIT | 1 day ago |
Dependencies
Declared by webdriver-bidi-protocol v0.4.3. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (6)
Used by
Popular packages that depend on webdriver-bidi-protocol.
Relationship graph
Dependencies (left) and dependents (right) of webdriver-bidi-protocol.
Frequently installed together
Reactive Extensions for modern JavaScript
TypeScript definitions for node
TypeScript definitions for ws
Polyfill for the URLPattern API
Download and launch browsers
Better typed `querySelector` and `querySelectorAll`.
An implementation of the WebDriver BiDi protocol for Chromium implemented as a JavaScript layer translating between BiDi and CDP, running inside a Chrome tab.
The Chrome DevTools Protocol JSON
Release history
38 releases in the last two years, typically about 5 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 0.4.3latest | 15 days ago | 255 KB | Apache-2.0 |
| 0.4.2 | 3 months ago | 243 KB | Apache-2.0 |
| 0.4.1 | 7 months ago | 240 KB | Apache-2.0 |
| 0.4.0 | 7 months ago | 239 KB | Apache-2.0 |
| 0.3.11 | 7 months ago | 234 KB | Apache-2.0 |
| 0.3.10 | 9 months ago | 232 KB | Apache-2.0 |
| 0.3.9 | 9 months ago | 230 KB | Apache-2.0 |
| 0.3.8 | 11 months ago | 229 KB | Apache-2.0 |
| 0.3.7 | 11 months ago | 227 KB | Apache-2.0 |
| 0.3.6 | 11 months ago | 244 KB | Apache-2.0 |
| 0.3.5 | 11 months ago | 234 KB | Apache-2.0 |
| 0.3.4 | 11 months ago | 234 KB | Apache-2.0 |
| 0.3.3 | 11 months ago | 234 KB | Apache-2.0 |
| 0.3.2 | 11 months ago | 233 KB | Apache-2.0 |
| 0.3.1 | 11 months ago | 232 KB | Apache-2.0 |
Overview
webdriver-bidi-protocol is an npm package that this repository contains TypeScript types conforming to the [WebDriver BiDi](https://w3c.github.io/webdriver-bidi/) specification. It also supports WebDriver BiDi extension modules defined in other specifications:. It has 1 known dependents in the graph. The latest version is 0.4.3, released under the Apache-2.0 license.
Who should use it
Teams working in the npm ecosystem who need this repository contains TypeScript types conforming to the [WebDriver BiDi](https://w3c.github.io/webdriver-bidi/) specification. It also supports WebDriver BiDi extension modules defined in other specifications: 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 (Apache-2.0).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use webdriver-bidi-protocol?
Yes — webdriver-bidi-protocol scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 15 days ago. 38 releases in the last 2 years.
How do I install webdriver-bidi-protocol?
Run `npm install webdriver-bidi-protocol` to add webdriver-bidi-protocol to your npm project.
What license is webdriver-bidi-protocol released under?
webdriver-bidi-protocol is distributed under the Apache-2.0 license.
How popular is webdriver-bidi-protocol?
npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on webdriver-bidi-protocol.
Is webdriver-bidi-protocol still maintained?
The most recent release of webdriver-bidi-protocol (v0.4.3) was published 15 days ago.
Does webdriver-bidi-protocol run install scripts?
No. webdriver-bidi-protocol does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.