Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 711 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 711 Bytes

Testing React Web Application using a Selenium WebDriver

Note: This is a simple implementation of using Selenium WebDriver in Javascript.

For more detailed infos, you can refer to the official Selenium Docs - Selenium Docs.

How to run the sample test on your local machine :

  • First, you need to install mocha testing framework globally on your machine by running the following command:
   npm i --global mocha
  • Next, run the following command:
   mocha testScript.spec.js

Also, you can test the sample.js

  node sample.js

Available Testing Scripts

  • You can also refer to the available testing scripts in the test folder.