The equivalent chromedriver and geckodriver packages also do this, and make setting up selenium just a bit simpler, where requiring the package is enough to set it all up.
For example: https://github.com/giggio/node-chromedriver/blob/master/lib/chromedriver.js#L18
If you want, I could create a pull request for this.
The equivalent chromedriver and geckodriver packages also do this, and make setting up selenium just a bit simpler, where requiring the package is enough to set it all up.
For example: https://github.com/giggio/node-chromedriver/blob/master/lib/chromedriver.js#L18
If you want, I could create a pull request for this.