New:Socket for Asana Is Now Available.Learn more
Get Started

@wdio/types

Package Overview
Dependencies
Maintainers
3
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/types

Utility package providing type information for a variety of WebdriverIO interfaces

Source
npmnpm
Version
9.30.1
Version published
Weekly downloads
3.3M
-27.75%
Maintainers
3
Weekly downloads
 
Created
Source

WebdriverIO Types

This package contains a bunch of TypeScript types for internal WebdriverIO consumption. Feel free however to use them in your TypeScript project too.

Install

To install this package from NPM run:

npm i @wdio/types

Example

The package exports the following major type bundles: Capabilities, Clients, Options, Services, Frameworks and Reporters. A lot of them are very WebdriverIO specific but you can leverage some, e.g.

import type { Capabilities } from '@wdio/types';

const w3cCaps: Capabilities.W3CCapabilities = {
    alwaysMatch: {...},
    firstMatch: [],
    // fails with "Object literal may only specify known properties, and 'invalid' does not exist in type 'W3CCapabilities'.ts(2322)"
    invalid: 42
}

For details please take a look into the individual files.

For more information on WebdriverIO see the homepage.

Keywords

webdriver

FAQs

Package last updated on 03 Aug 2026

Related posts