paint-brush
How to write Selenium tests in Node.js with WebDriverIOby@BuddyWorks
10,735 reads
10,735 reads

How to write Selenium tests in Node.js with WebDriverIO

by BuddyMarch 6th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

<a href="https://hackernoon.com/tagged/selenium" target="_blank">Selenium</a> 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.
featured image - How to write Selenium tests in Node.js with WebDriverIO
Buddy HackerNoon profile picture

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.