Socket
Socket
Sign inDemoInstall

@wdio/cli

Package Overview
Dependencies
28
Maintainers
3
Versions
620
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @wdio/cli

WebdriverIO testrunner command line interface


Version published
Weekly downloads
571K
increased by8.12%
Maintainers
3
Created
Weekly downloads
 

Package description

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

Readme

Source

WDIO CLI

WebdriverIO testrunner command line interface

Keywords

FAQs

Last updated on 21 Dec 2023

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc