Socket
Socket
Sign inDemoInstall

webdriverio-setup

Package Overview
Dependencies
476
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    webdriverio-setup

### Commands All commands should be run from root of the project


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
65.5 MB
Created
Weekly downloads
 

Readme

Source

webdriverio-setup

Commands

All commands should be run from root of the project

Initialise the project
  1. npm init --yes
Install WebdriverIO as a dependency
  1. npm install --save webdriverio
Set up project
  1. ./node_modules/.bin/wdio

You will be presented with a few questions to guide you through setting up the project. Press enter to confirm your answers. Use spacebar to select checkbox/radio option

Use arrow keys if neccessary to move to required options advised below

QuestionAnswer
Where do you want to execute your tests?On my local machine
Which framework do you want to use?mocha
Shall I install the framework adapter for you?Yes
Where are your test specs located?./test.js
Which reporter do you want to use?spec
Shall I install the reporter library for you?Yes
Do you want to add a service to your test setup?selenium-standalone
Level of logging verbosity:silent
In which directory should screenshots gets saved if a command fails?./errorShots/
What is the base url?http://bing.com
Run tests
  1. ./node_modules/.bin/wdio

FAQs

Last updated on 04 Oct 2018

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