@wdio/protocols
Utility package providing information about automation protocols
Last updated 5 years ago by christian-bromann .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm install @wdio/protocols 
SYNC missed versions from official npm registry.

WebdriverIO Protocol Helper

This package stores the definition for various automation protocols such as WebDriver or vendor specific protocol extensions like for SauceLabs. 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:

Install

To install the package, run:

npm install @wdio/protocols

Usage

You can get data by importing the package as follows:

import { WebDriverProtocol, MJsonWProtocol, JsonWProtocol, AppiumProtocol, ChromiumProtocol, SauceLabsProtocol, SeleniumProtocol } from '@wdio/protocols'

/**
 * get description of session command
 */
console.log(WebDriverProtocol['/session'].POST.description)

TypeScript Interfaces

The package exposes TypeScript interfaces for all protocols. You can use them for your own project as follows:

import type { WebDriverCommands } from '@wdio/protocol'

import { WebDriverCommands, WebDriverCommandsAsync } from './src'

const browser = {} as WebDriverCommands
browser.sendAlertText(true)
// fails with "Argument of type 'boolean' is not assignable to parameter of type 'string'.ts(2345)"

const asyncBrowser = {} as WebDriverCommandsAsync
const a = await asyncBrowser.getTitle()
type foo = typeof a // string

For more information on WebdriverIO see the homepage.

Current Tags

  • 7.0.0-beta.1                                ...           beta (4 years ago)
  • 8.6.6                                ...           latest (2 years ago)
  • 8.0.0-alpha.631                                ...           next (2 years ago)

105 Versions

  • 8.6.6                                ...           2 years ago
  • 8.5.7                                ...           2 years ago
  • 8.5.6                                ...           2 years ago
  • 8.3.11                                ...           2 years ago
  • 8.3.5                                ...           2 years ago
  • 8.2.0                                ...           2 years ago
  • 8.1.0                                ...           2 years ago
  • 8.0.15                                ...           2 years ago
  • 8.0.0                                ...           2 years ago
  • 8.0.0-alpha.631                                ...           2 years ago
  • 8.0.0-alpha.630                                ...           2 years ago
  • 8.0.0-alpha.629                                ...           2 years ago
  • 8.0.0-alpha.621                                ...           2 years ago
  • 8.0.0-alpha.620                                ...           2 years ago
  • 8.0.0-alpha.619                                ...           2 years ago
  • 8.0.0-alpha.607                                ...           2 years ago
  • 8.0.0-alpha.600                                ...           2 years ago
  • 8.0.0-alpha.598                                ...           2 years ago
  • 8.0.0-alpha.593                                ...           2 years ago
  • 7.27.0                                ...           2 years ago
  • 8.0.0-alpha.589                                ...           2 years ago
  • 8.0.0-alpha.577                                ...           2 years ago
  • 8.0.0-alpha.565                                ...           2 years ago
  • 8.0.0-alpha.563                                ...           2 years ago
  • 8.0.0-alpha.558                                ...           2 years ago
  • 8.0.0-alpha.547                                ...           2 years ago
  • 8.0.0-alpha.537                                ...           2 years ago
  • 8.0.0-alpha.518                                ...           2 years ago
  • 8.0.0-alpha.516                                ...           2 years ago
  • 8.0.0-alpha.512                                ...           2 years ago
  • 8.0.0-alpha.508                                ...           2 years ago
  • 8.0.0-alpha.507                                ...           2 years ago
  • 8.0.0-alpha.505                                ...           2 years ago
  • 8.0.0-alpha.504                                ...           2 years ago
  • 7.20.8-alpha.504                                ...           2 years ago
  • 8.0.0-alpha.412                                ...           2 years ago
  • 8.0.0-alpha.411                                ...           2 years ago
  • 8.0.0-alpha.365                                ...           2 years ago
  • 8.0.0-alpha.331                                ...           2 years ago
  • 8.0.0-alpha.330                                ...           2 years ago
  • 8.0.0-alpha.329                                ...           2 years ago
  • 8.0.0-alpha.328                                ...           2 years ago
  • 8.0.0-alpha.327                                ...           2 years ago
  • 7.22.0                                ...           2 years ago
  • 8.0.0-alpha.249                                ...           2 years ago
  • 8.0.0-alpha.243                                ...           2 years ago
  • 8.0.0-alpha.240                                ...           2 years ago
  • 8.0.0-alpha.239                                ...           2 years ago
  • 8.0.0-alpha.219                                ...           2 years ago
  • 8.0.0-alpha.213                                ...           2 years ago
  • 7.20.6                                ...           2 years ago
  • 7.20.4                                ...           2 years ago
  • 7.20.2                                ...           3 years ago
  • 7.20.0                                ...           3 years ago
  • 7.19.0                                ...           3 years ago
  • 7.17.3                                ...           3 years ago
  • 7.16.7                                ...           3 years ago
  • 7.16.1                                ...           3 years ago
  • 7.16.0                                ...           3 years ago
  • 7.13.2                                ...           3 years ago
  • 7.13.0                                ...           3 years ago
  • 7.12.1                                ...           3 years ago
  • 7.12.0                                ...           3 years ago
  • 7.11.0                                ...           3 years ago
  • 7.10.1                                ...           3 years ago
  • 7.7.4                                ...           3 years ago
  • 7.5.3                                ...           4 years ago
  • 7.4.2                                ...           4 years ago
  • 7.4.1                                ...           4 years ago
  • 7.1.1                                ...           4 years ago
  • 7.0.0                                ...           4 years ago
  • 7.0.0-beta.1                                ...           4 years ago
  • 7.0.0-beta.0                                ...           4 years ago
  • 6.12.0                                ...           4 years ago
  • 6.10.6                                ...           4 years ago
  • 6.10.0                                ...           4 years ago
  • 6.8.0                                ...           4 years ago
  • 6.6.0                                ...           4 years ago
  • 6.3.6                                ...           4 years ago
  • 6.3.0                                ...           4 years ago
  • 6.1.25                                ...           4 years ago
  • 6.1.14                                ...           5 years ago
  • 6.1.11                                ...           5 years ago
  • 6.1.2                                ...           5 years ago
  • 6.0.12                                ...           5 years ago
  • 6.0.11                                ...           5 years ago
  • 6.0.8                                ...           5 years ago
  • 6.0.7                                ...           5 years ago
  • 6.0.1                                ...           5 years ago
  • 6.0.0-beta.1                                ...           5 years ago
  • 5.22.1                                ...           5 years ago
  • 5.19.0                                ...           5 years ago
  • 6.0.0-beta.0                                ...           5 years ago
  • 5.18.7                                ...           5 years ago
  • 6.0.0-alpha.1                                ...           5 years ago
  • 6.0.0-alpha.0                                ...           5 years ago
  • 5.16.7                                ...           5 years ago
  • 5.16.4                                ...           5 years ago
  • 5.16.0                                ...           5 years ago
  • 5.15.6                                ...           5 years ago
  • 5.15.4                                ...           5 years ago
  • 5.15.1                                ...           5 years ago
  • 5.14.0                                ...           5 years ago
  • 5.13.2                                ...           5 years ago
  • 5.13.0-alpha.0                                ...           5 years ago
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (3)

Copyright 2013 - present © cnpmjs.org | Home |