How to get browser active tab URL in node/electron app on Linux/Mac/Windows? How to get browser active tab URL in node/electron app on Linux/Mac/Windows? linux linux

How to get browser active tab URL in node/electron app on Linux/Mac/Windows?


For Linux try command wmctrl. if there is no title tag on the web page, wmctrl should show you full url in the title bar.