Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wdio/types

Package Overview
Dependencies
Maintainers
3
Versions
178
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

  • 8.41.0
  • v8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.8M
decreased by-26.31%
Maintainers
3
Weekly downloads
 
Created

What is @wdio/types?

@wdio/types is a TypeScript type definitions package for WebdriverIO, a popular automation test framework. It provides type definitions for various WebdriverIO components, making it easier to write type-safe code when using WebdriverIO.

What are @wdio/types's main functionalities?

Type Definitions for WebdriverIO Configuration

This feature provides type definitions for WebdriverIO configuration objects, ensuring that the configuration adheres to the expected structure and types.

const config: WebdriverIO.Config = { runner: 'local', specs: ['./test/specs/**/*.js'], capabilities: [{ browserName: 'chrome' }] };

Type Definitions for WebdriverIO Commands

This feature provides type definitions for WebdriverIO commands, allowing for type-safe interactions with the browser and elements.

browser.url('https://example.com'); const title: string = browser.getTitle();

Type Definitions for WebdriverIO Hooks

This feature provides type definitions for WebdriverIO hooks, ensuring that hooks are implemented with the correct parameters and return types.

const hooks: WebdriverIO.Hooks = { before: (capabilities, specs) => { console.log('Before hook'); } };

Other packages similar to @wdio/types

Keywords

FAQs

Package last updated on 18 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc