Selenium is an umbrella project for a range of tools and libraries that enable and support the automation of web browsers.
Allows users to simulate common activities performed by end-users; entering text into fields, selecting drop-down values and checking boxes, and clicking links in documents. Browser user agent library. Execute on Firefox, Internet Explorer, Chrome, and all other supported browsers.
Narrative documentation:
Click to see JavaScript Build Steps
If you want to build all the JavaScript code you can run:
bazel build javascript/...
To build the NodeJS bindings you will need to run:
bazel build //javascript/node/selenium-webdriver
To run the tests run:
bazel test //javascript/node/selenium-webdriver:tests
You can pass in the environment variable SELENIUM_BROWSER
with the name of the browser.
To publish to NPM run:
bazel run //javascript/node/selenium-webdriver:selenium-webdriver.publish
You need to install either Yarn or Node on your machine. In this project, I will use npm for installing packages and running scripts.
npm install
npm run test
Getting started :: Documentation for Selenium
SeleniumHQ/seleniumhq.github.io: Official Selenium website and documentation
Selenium Cheat Sheet - DEV Community