How to write Selenium tests in Node.js with WebDriverIO

Objectives of this guide

Selenium is a set of tools frequently used for testing applications: it fires up a page in the web browser and examines its contents paying special attention to errors. It can also bring on an interaction with the page checking the contents later.

After reading this guide you’ll be able to:

  • Write Selenium tests in Node.js
  • Run test locally on the Selenium Server
  • Automate your testing processes using Buddy CI/CD

Writing the first Selenium task

Let’s set a task that will fire up Buddy website in Chrome browser and take a screenshot. At the beginning, though, you should install Node.js

Want to learn more? Follow the full article here.

More by Buddy

Topics of interest

More Related Stories