Wednesday, March 8, 2017

How to test your web applications using Selenium Webdriver

Still working on this post....

How to setup Selenium, phantomJS, and chromedriver on mac?

brew install phantomjs
brew install chromedriver
brew install selenium-server-standalone

How to setup Selenium, PhantomJS, and Chromedriver on mac/windows?

Install selenium-webdriver npm module.

npm install selenium-webdriver


Download the needed drivers on to your local
For example, 
download phantomjs driver from http://phantomjs.org/download.html
http://www.kenst.com/2015/03/installing-chromedriver-on-mac-osx/
Update the system path on your local pointing to the downloaded drivers


Make sure that JDK is installed on your local


Clone the following git repo and give it a try: https://github.com/umaar/webdriverjs-recipes

No comments:

Post a Comment