A repository to show how Selenium can be used to carry out tasks via the Safari or Chrome Browser.
-
Switch on the dev tools within the Safari application
-
Run:
safaridriver --enable
-
Update Chrome to the latest
-
Upgrade or install Chrome Driver
brew install chromedriver
orbrew cask upgrade chromedriver
-
Run:
node index.js
https://developer.apple.com/documentation/webkit/testing_with_webdriver_in_safari
https://www.npmjs.com/package/selenium-webdriver
https://medium.com/@bmshamsnahid/automated-testing-with-selenium-webdriver-and-node-js-f99f64720352