/bowser

Playing with remote browser protocols

Primary LanguageJavaScript

Bowser

Bowser

Trying out HTTP/JSON endpoints of Google Chrome and Firefox Remote Devtools

Files

Any chromium browser or firefox based browser with --remote-debugging-port cli option (for example Firefox Nightly) is required

Setup

  • 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