{"_id":"@wdio/protocols@10.2.0","bugs":{"url":"https://github.com/webdriverio/webdriverio/issues"},"dist":{"shasum":"740049fe2100d01bb1c5db11cd52594e4561a3b6","tarball":"http://registry-npm.ywwl.com/@wdio/protocols/download/@wdio/protocols-10.2.0.tgz","fileCount":36,"integrity":"sha512-HuSsvpv7hV8hbhFdlMraz7c+Bpu9O4FiKg2XdztZupj59wx0c7n7YPnZRGEY5yW3/wRt9PfqWkBI0EO81Y+Zqw==","signatures":[{"sig":"MEUCIG0XYPQ9Foy73YOwNpw9f90yGw+9bC1OZzhVqUFKWov6AiEAv2YmHdmQBMT3DiZWdpgAgP/wzI5IlnltTDoZbpOBjUw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQD5WY5XaIapPHqDj13Vp22VhSyOc50UcrW6nOwGqcl7AQIhAIvezdpYajj+bGbmc8cP4kDOZrnGjk1atxe9yBT/Sdo9"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@wdio%2fprotocols@10.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":448570,"size":56674,"noattachment":false,"key":"/@wdio/protocols/-/@wdio/protocols-10.2.0.tgz"},"name":"@wdio/protocols","type":"module","types":"./build/index.d.ts","author":{"name":"Christian Bromann","email":"mail@bromann.dev"},"engines":{"node":">=22.23.4 <23 || >=24.22.1 <25 || >=26.12.1"},"exports":{".":{"types":"./build/index.d.ts","import":"./build/index.js"}},"gitHead":"5743972ac11d3dd92de450347932722f95b4e030","license":"MIT","version":"10.2.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"e188c221-fde9-44d3-9399-26eaa8bd723f"}},"homepage":"https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-protocols","keywords":["webdriver","wdio"],"repository":{"url":"git+https://github.com/webdriverio/webdriverio.git","type":"git","directory":"packages/wdio-protocols"},"_npmVersion":"lerna/10.1.1/node@v24.22.2+x64 (linux)","description":"Utility package providing information about automation protocols","directories":{},"maintainers":[{"name":"christian-bromann","email":"mail@bromann.dev"},{"name":"wdio-user","email":"bot@webdriver.io"},{"name":"wswebcreation-nl","email":"wim@wswebcreation.nl"}],"_nodeVersion":"24.22.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"typeScriptVersion":"6.0.3","_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/protocols_10.2.0_1793930536790_0.1408940630242259"},"readme":"WebdriverIO Protocol Helper\n===========================\n\nThis package stores the definition for various automation protocols such as [WebDriver](https://w3c.github.io/webdriver/) or vendor specific protocol extensions like for [SauceLabs](https://saucelabs.com/). Unless you are interested in generating a WebDriver client there should be no reason why you should need this package. This package holds the definition of the following protocols:\n\n- [WebDriver](https://w3c.github.io/webdriver/)\n- [Appium](http://appium.io/)\n- [Sauce Labs](https://saucelabs.com/)\n- Chrome (WebDriver extension when running Chromedriver)\n- Selenium (when running Selenium Standalone Server)\n\n## Install\n\nTo install the package, run:\n\n```sh\nnpm install @wdio/protocols\n```\n\n## Usage\n\nYou can get data by importing the package as follows:\n\n```js\nimport { WebDriverProtocol, AppiumProtocol, ChromiumProtocol, SauceLabsProtocol, SeleniumProtocol } from '@wdio/protocols'\n\n/**\n * get description of session command\n */\nconsole.log(WebDriverProtocol['/session'].POST.description)\n```\n\n## TypeScript Interfaces\n\nThe package exposes TypeScript interfaces for all protocols. You can use them for your own project as follows:\n\n```ts\nimport type { WebDriverCommands } from '@wdio/protocol'\n\nimport { WebDriverCommands, WebDriverCommandsAsync } from './src'\n\nconst browser = {} as WebDriverCommands\nbrowser.sendAlertText(true)\n// fails with \"Argument of type 'boolean' is not assignable to parameter of type 'string'.ts(2345)\"\n\nconst asyncBrowser = {} as WebDriverCommandsAsync\nconst a = await asyncBrowser.getTitle()\ntype foo = typeof a // string\n```\n\n----\n\nFor more information on WebdriverIO see the [homepage](https://webdriver.io).\n","publish_time":1793930536899,"_cnpm_publish_time":1793930536899,"dist-tags":{"beta":"7.0.0-beta.1","latest":"10.2.0","next":"10.2.0-alpha.100.sha-b38abd894","v8":"8.44.0","v9":"9.33.1"}}