Skip to content

Installation Process

Jimuel Renzo Medrano edited this page Mar 16, 2023 · 5 revisions

Tools

Installing Webdriverio

  • Refer to wdio getting started documentation: https://webdriver.io/docs/gettingstarted
  • Initialize webdriverio project using the following command in the vs code terminal: npm init wdio .
  • Setting up wdio config will have some initial questions. Here are the answers for installing webdriverio-cucumber-ts

image

  • If you encounter some chromedriver issues, you can just edit the version in the package.json and run npm install again

image

  • Run npm run wdio to test if webdriverio installation works. it will run the sample project that is included in the webdriver installation

image

VS Code Extensions

Cuke Step-Definition generator

  • This extension helps with generating step definitions from feature files. After filling up the feature file, highlight the steps then right click to use cuke's generate step definition function image

Wdio related

  • JavaScript and TypeScript Nightly by Microsoft
  • Cucumber
  • JavaScript (ES6) code snippets

General use extensions

  • vscode-icons (For better project folder icons)
  • Prettier (Code formatter to clean up codes)
  • Path Intellisense
  • NPM Intellisense
  • Code Runner
  • DotENV

Google Chrome Plugins