How to write Selenium tests in Node.js with WebDriverIO

Written by BuddyWorks | Published 2017/03/06
Tech Story Tags: javascript | nodejs | selenium-webdriver | selenium | testing

TLDRvia the TL;DR App

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.


Published by HackerNoon on 2017/03/06