Trying out HTTP/JSON endpoints of Google Chrome and Firefox Remote Devtools
- bowser.js: Simple command line program to interact with chrome
- server.js: express app
- chrome.js: methods for Chrome
- firefox.js: methods for Firefox
Any chromium browser or firefox based browser with
--remote-debugging-port
cli option (for example Firefox Nightly) is required
- Install initial packages
yarn install
- Set up
.env
file:CHRM_CMD=/path/to/google-chrome FRFX_CMD=/path/to/firefox CHRM_PORT=9222 FRFX_PORT=9223 CHRM_DATA_PATH=/path/to/chrome/data FRFX_DATA_PATH=/path/to/firefox/data