Problem
Selenium
, by default, opens a new browser window when it runs. However, I want Selenium
to run in an existing browser session (Google Chrome
specifically, if that helps). I have found questions which address this request, but they end up giving solutions in Java
or Python
. I would like a valid solution in Javascript
.
Note
I use Node.js, and have installed selenium-webdriver
using npm
, so it may help when forming your answer.