I want to run and control a browser window from a web application, to automate some things (like account creation etc.) on another site.
So my question is, is there a way to do it using selenium directly from the browser, and in such a case how to do it?
I know there is selenium-webdriver for JS, but in common use cases we use it with Node.js.
The WebDriver introduction suggests that this is possible:
It is primarily intended to allow web authors to write tests that automate a user agent from a separate controlling process, but may also be used in such a way as to allow in-browser scripts to control a — possibly separate — browser.