{"name":"webdriver-bidi-protocol","version":"0.2.0","keywords":["webdriver","bidi","protocol"],"author":{"name":"The Chromium Authors"},"license":"Apache-2.0","_id":"webdriver-bidi-protocol@0.2.0","maintainers":[{"name":"orkon","email":"alexei.rudenko@gmail.com"},{"name":"google-wombot","email":"node-team-npm+wombot@google.com"}],"homepage":"https://github.com/GoogleChromeLabs/webdriver-bidi-protocol#readme","bugs":{"url":"https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues"},"dist":{"shasum":"e1d227629ef679e048c434353f224bce30e3422c","tarball":"http://registry-npm.ywwl.com/webdriver-bidi-protocol/download/webdriver-bidi-protocol-0.2.0.tgz","fileCount":32,"integrity":"sha512-e38Gx4FJkbYPgjgaHshBqu8YmceTMqojs5WzsP1R+zdVVXSCXQbm9vhQ0T+eyLiaWHdU3dWKSMuglYteAsdypw==","signatures":[{"sig":"MEUCIQDTWPl3hGQ/cuEkZIZJGvI0HXpkl6tow31xKXhwIhnV1wIgFQ/1I6D3wrKZBu7eHTGjIkRgTklfshqUk0sNM+iArcE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":220447,"size":37260,"noattachment":false,"key":"/webdriver-bidi-protocol/-/webdriver-bidi-protocol-0.2.0.tgz"},"main":"out/index.js","types":"out/index.d.ts","gitHead":"b534057a05e74fb36feede51766872ed90f7d2e5","scripts":{"test":"./tools/build.sh","format":"prettier -w 'out/**/*' 'src/**/*' 'test-d/**/*'"},"_npmUser":{"name":"google-wombot","actor":{"name":"google-wombot","type":"user","email":"node-team-npm+wombot@google.com"},"email":"node-team-npm+wombot@google.com"},"repository":{"url":"git+https://github.com/GoogleChromeLabs/webdriver-bidi-protocol.git","type":"git"},"_npmVersion":"10.8.2","description":"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:","directories":{},"_nodeVersion":"20.19.2","_hasShrinkwrap":false,"devDependencies":{"gts":"^6.0.2","tsd":"0.32.0","parse5":"^7.1.2","prettier":"3.6.1","typescript":"5.8.3","@types/node":"^24.0.4"},"_npmOperationalInternal":{"tmp":"tmp/webdriver-bidi-protocol_0.2.0_1750934507328_0.35193624462498607","host":"s3://npm-registry-packages-npm-production"},"readme":"# webdriver-bidi-protocol\n\nThis repository contains TypeScript types conforming to the [WebDriver\nBiDi](https://w3c.github.io/webdriver-bidi/) specification. It also\nsupports WebDriver BiDi extension modules defined in other\nspecifications:\n\n- [Permissions](https://w3c.github.io/permissions/#automation-webdriver-bidi)\n- [Web Bluetooth](https://webbluetoothcg.github.io/web-bluetooth/#automated-testing)\n\n## Installation\n\n```\nnpm install webdriver-bidi-protocol\n```\n\n## Usage\n\nIn your TypeScript client implementation, you can now import WebDriver\nBiDi types:\n\n```ts\nimport {Commands} from 'webdriver-bidi-protocol';\n\nasync function sendCommand<T extends keyof Commands>(\n  method: T,\n  params: Commands[T]['params']\n): {result: Commands[T]['returnType']} {\n  // Implementation for sending the data using WebSockets.\n}\n\n// Now TypeScript validates that the params match the spec for 'browsingContext.print'.\nawait sendCommand('browsingContext.print', {context: 'xxx'});\n```\n\n## Versioning\n\nThis package patch version will be incremented whenever there are\nspecification updates. \n","publish_time":1750934507548,"_cnpm_publish_time":1750934507548,"dist-tags":{"latest":"1.0.2"}}