This is a demo framework (UI) that runs a set of tests against Regex101.
This framework utilizes Webdriver Manager, to install:
npm install -g webdriver-manager
Then, we set up a Selenium server
webdriver-manager update
After, we start the Selenium server
webdriver-manager start --detach
Note: By fault, selenium server will run on http://localhost:4444/wd/hub
See Webdriver Manager repository for more info.
This framework also utilizes MochaJS, to install:
npm install --global mocha
See MochaJS repository for more info.
Once this is done, we install all dependecies:
npm install
To run all tests available:
npm test
Error: webdriver-manager.ps1 cannot be loaded because running scripts is disabled on this system. (Windows)
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted
Scenario: Reload site? Pop-up won't dismiss
Tried different solutions and this issue reminds, requires further investigation. Tests will be working fine, however.