Can I use Selenium with JavaScript?
Selenium is a fantastic tool for automating functional tests on websites and online applications in the language of our choice. You can use Selenium and JavaScript to run automated browser tests on thousands of actual mobile and desktop browsers in the cloud with CrossBrowserTesting.
To begin, make sure you have Selenium’s JavaScript language bindings installed and available. The official resource for this can be found here:
You can also type the following into the terminal if you have NPM installed (it comes with the Node.js distribution):
install selenium-webdriver using npm