- selenium-webdriver: v4.26.0
- mocha: v10.7.3
Please run the following command to install the dependencies:
The solution is a test file that implements the 6 tests described in "./guide.html". The target of these tests is the "./index.html" file.
The solution file - "./test.js" - is configured to be able to run with the 4 most popular web browsers: Safari, Chrome, Microsoft Edge, Firefox.
- Open Safari and go to Safari > Advanced > Show Develop menu in menu bar
- Still in Safari, go to Develop > Allow Remote Automation
- Uncomment line 167 in ./test.js
- Comment out other lines that start with "describe..."
- Run this command in the repository directory:
- Open Chrome
- Uncomment line 170 in ./test.js
- Comment out other lines that start with "describe..."
- Run this command in the repository directory:
- Open Microsoft Edge
- Uncomment line 173 in ./test.js
- Comment out other lines that start with "describe..."
- Run this command in the repository directory:
- Open Firefox
- Uncomment line 176 in ./test.js
- Comment out other lines that start with "describe..."
- Run this command in the repository directory: