How to reload Google Chrome tab from terminal?

后端 未结 8 1998
心在旅途
心在旅途 2021-02-02 17:57

Is there a way to reload a Google Chrome tab in Ubuntu using just the terminal. I don\'t want to just open a new window, but to actually refresh a tab!

Extra que

8条回答
  •  醉酒成梦
    2021-02-02 18:48

    chrome-remote-reload requires remote debugging enabled, but works both on Linux and Windows.

    1. Download executable: https://github.com/Benoth/chrome-remote-reload/releases or build it from sources.
    2. Run Chrome(/Chromium/Iron... or possibly even Opera or Edge, but the last one uses --devtools-server-port instead) with --remote-debugging-port=9222 parameter to enable remote debugging (just remember to close all instances of browser beforehand).
    3. Run downloaded executable.

提交回复
热议问题