🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

@wdio/cli

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
w

@wdio/cli

WebdriverIO testrunner command line interface

9.14.0
latest
97

Supply Chain Security

100

Vulnerability

73

Quality

96

Maintenance

100

License

Version published
Weekly downloads
587K
-24.74%
Maintainers
3
Weekly downloads
 
Created
Issues
229

What is @wdio/cli?

@wdio/cli is a command-line interface for WebdriverIO, a popular automation test framework for Node.js. It allows users to set up, configure, and run automated tests for web applications using WebdriverIO.

What are @wdio/cli's main functionalities?

Setup WebdriverIO

This command initializes a new WebdriverIO project by guiding the user through a series of prompts to configure the test environment, including selecting the test framework, reporter, and services.

npx wdio config

Run Tests

This command runs the tests defined in the WebdriverIO configuration file. It executes the test scripts and generates reports based on the specified configuration.

npx wdio run ./wdio.conf.js

Generate Test Reports

This command runs the tests and generates reports using the specified reporter, in this case, the 'spec' reporter. Users can choose from various reporters to format the test results.

npx wdio run ./wdio.conf.js --reporters spec

Debug Tests

This command runs the tests in debug mode, allowing users to step through their test scripts and troubleshoot issues interactively.

npx wdio run ./wdio.conf.js --debug

Other packages similar to @wdio/cli

FAQs

Package last updated on 15 May 2025

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