Bits N Tricks

Selenium Webdriver

WebDriver is a tool for automating testing web applications and can be used for automating the interactions with browsers. As a tester its very difficult to perform regression repetitively for same test cases on different browsers. Delimma of the developers is that sometimes it is very time consuming to perform unit testing again and again on same thing.

WebDriver is a magical sticktool that can save our time. Just write the test cases and run them through WebDriver. It will automatically open specified browser for you and run the test cases. It performs all the actions that you can do with your keyboard and mouse.

Here we are discussing about Selenium Webdriver. You need to install language-specific client drivers to run Selenium WebDriver scripts. This article will demonstrate the steps in Javascript (Node), so our first step will be to install selenium-webdriver module via npm(we are assuming that you have already installed npm on your machine)