I need to call the Javascript function from a website running in Google Chrome / Chromium from the command line.
Is it possible to access the developer tools from the outside through the command line? Is there an extension that I could use to execute code?
The most convenient way is to access the Chrome Developer Console from the command line.
Edit:
To make this clearer: Assume that this function is defined on the Im on site:
function hello() { alert("hello"); }
I would call this feature, but I do not have access to the developer tools in Chrome. I can only access the Mac OS X terminal (via SSH). Its setting in the gallery without a keyboard. You may need some kind of pipe.
Pwdr source share