Socket
Socket
Sign inDemoInstall

@wdio/cli

Package Overview
Dependencies
Maintainers
3
Versions
641
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wdio/cli

WebdriverIO testrunner command line interface


Version published
Weekly downloads
680K
increased by6.91%
Maintainers
3
Weekly downloads
 
Created

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

Keywords

FAQs

Package last updated on 15 Aug 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