How can I get the current chromium tab URL from an external process in linux programmatically?
There are many similar questions to this one, but I haven't found any with the following requirements
- Solution should work from outside of the chrome process, i.e. not within javascript or a chrome extension.
- Solution should not be based on autohotkey, xdotool, wmctrl or similar tools for simulating keyboard or mouse input
- No OSX or Windows-specific solutions
In firefox, there is mozrepl
, which exposes browser internals through an interactive repl over a TCP port. I am looking for something similar in chromium or chrome, even if it means installing a chrome extension.