How do I run Selenium in node JS?

How do I run Selenium in node JS?

The easiest way to run Selenium Webdriver tests using NodeJS is: Step 1 - Choose the browser, device and OS combo. Step 2 - Run your sample test code. Step 3 - Check if the results are right.