{"_id":"webdriver-bidi-protocol@1.0.2","bugs":{"url":"https://github.com/GoogleChromeLabs/webdriver-bidi-protocol/issues"},"dist":{"shasum":"237f16aa10bd93b22d0dfa32103b4fcc115589d3","tarball":"http://registry-npm.ywwl.com/webdriver-bidi-protocol/download/webdriver-bidi-protocol-1.0.2.tgz","fileCount":22,"integrity":"sha512-nghazPI+J5RrLZ+qb6vMjC6l1/tnwqr2muVEax4Ufd6eIdcjeqNnhLsAxTG9s+7Zf4umgf0DrEwDC8CoU91nAA==","signatures":[{"sig":"MEUCIEMS7iin6lc3a+sdphkmJS7RPLobdV5IjzrnCNZkfFxFAiEAhM7wwIdnCrvwKFaOwPLMzeGEZ2q5zPjH4jM/z0QSBQg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCk7PKnAo513Ne9zIc0nstHphfrusUkcgfSMnVh0cSkXQIgNoyeALdJuQE0G+qK+NnaRQUbQaP9s1P4WJlqkRpz1To="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/webdriver-bidi-protocol@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":272748,"size":38892,"noattachment":false,"key":"/webdriver-bidi-protocol/-/webdriver-bidi-protocol-1.0.2.tgz"},"main":"out/index.js","name":"webdriver-bidi-protocol","types":"out/index.d.ts","author":{"name":"The Chromium Authors"},"gitHead":"f7f41b5a463df4c2d2fea7159c4cc6e74562b7c6","license":"Apache-2.0","scripts":{"test":"./tools/build.sh","format":"prettier -w 'out/**/*' 'src/**/*' 'test-d/**/*'"},"version":"1.0.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"c718afa7-6bc4-466a-beca-c839a9b9d6c6"}},"homepage":"https://github.com/GoogleChromeLabs/webdriver-bidi-protocol#readme","keywords":["webdriver","bidi","protocol"],"repository":{"url":"git+https://github.com/GoogleChromeLabs/webdriver-bidi-protocol.git","type":"git"},"_npmVersion":"11.19.0","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":{},"maintainers":[{"name":"orkon","email":"alexei.rudenko@gmail.com"},{"name":"google-wombot","email":"node-team-npm+wombot@google.com"}],"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"tsd":"0.33.0","parse5":"^8.0.1","prettier":"3.9.7","ts-morph":"28.0.0","typescript":"7.0.2","@types/node":"^26.3.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/webdriver-bidi-protocol_1.0.2_1792751323194_0.8135157561049611"},"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":1792751323307,"_cnpm_publish_time":1792751323307,"dist-tags":{"latest":"1.0.2"}}