/pfl-selenium

Example UI Test with Selenium Web Driver

Primary LanguageJavaScript

PFL Selenium Assignment

Example UI Test with Selenium Web Driver for https://sdetassessment.azurewebsites.net/

Requirements

Setup

  1. Clone the repository to a local folder.

  2. Run the following commands:

$ npm install
$ node app.js

Add GeckoDriver to PATH (Unix/Linux)

Check repo link in the requirements section to check for latest driver

wget https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux64.tar.gz
tar -xvzf geckodriver*
chmod +x geckodriver
sudo mv geckodriver /usr/local/bin/

Source: https://askubuntu.com/questions/870530/how-to-install-geckodriver-in-ubuntu