Skip to content

A lightweight demo project for UI test automation using Selenium WebDriver, Mocha, and Chai in JavaScript.

Notifications You must be signed in to change notification settings

Vaserson/selenium-js-demo-automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§ͺ Selenium JS Demo Automation

A lightweight demo project for UI test automation using Selenium WebDriver, Mocha, and Chai in JavaScript.

πŸš€ Features

  • πŸ“Œ Browser automation with selenium-webdriver

  • βœ… Test runner: mocha

  • πŸ’¬ Assertions with chai

  • πŸ”„ Auto-reloading test runner via nodemon (optional)

  • πŸ”§ Easily extendable and customizable structure

πŸ› οΈ Stack

Tool Purposen
selenium-webdriver Controls the browser for UI automation
mocha Test runner for writing and executing tests
chai Assertion library to verify test outcomes
nodemon (dev) Automatically reruns tests on file change

πŸ“¦ Installation

Clone the project and install dependencies:

npm install

Or step-by-step:

npm install selenium-webdriver
npm install --save-dev mocha chai
npm install --save-dev nodemon

🚨 Running Tests

To run your tests:

npm test

nodemon will be used automatically for auto-reloading:

About

A lightweight demo project for UI test automation using Selenium WebDriver, Mocha, and Chai in JavaScript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published