Skip to content

Instantly share code, notes, and snippets.

@kevsersrca
Forked from gasparrobi/headlessChrome.md
Created April 20, 2020 11:27
Show Gist options
  • Save kevsersrca/58b5e26d8910609b6bc231427ec478e6 to your computer and use it in GitHub Desktop.
Save kevsersrca/58b5e26d8910609b6bc231427ec478e6 to your computer and use it in GitHub Desktop.

Revisions

  1. @gasparrobi gasparrobi revised this gist Dec 9, 2017. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions headlessChrome.md
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    ###1. set an alias for chrome:
    ### 1. set an alias for chrome:
    ```alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"```

    ###2. To remote control your chrome headless:
    ### 2. To remote control your chrome headless:
    ```chrome --headless --disable-gpu --remote-debugging-port=9222```
  2. @gasparrobi gasparrobi revised this gist Dec 9, 2017. No changes.
  3. @gasparrobi gasparrobi revised this gist Dec 9, 2017. 2 changed files with 5 additions and 5 deletions.
    5 changes: 5 additions & 0 deletions headlessChrome.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    ###1. set an alias for chrome:
    ```alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"```

    ###2. To remote control your chrome headless:
    ```chrome --headless --disable-gpu --remote-debugging-port=9222```
    5 changes: 0 additions & 5 deletions headlessChrome.txt
    Original file line number Diff line number Diff line change
    @@ -1,5 +0,0 @@
    1. set an alias for chrome:
    alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"

    2. To remote control your chrome headless:
    chrome --headless --disable-gpu --remote-debugging-port=9222
  4. @gasparrobi gasparrobi renamed this gist Dec 9, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. @gasparrobi gasparrobi created this gist Dec 9, 2017.
    5 changes: 5 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    1. set an alias for chrome:
    alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"

    2. To remote control your chrome headless:
    chrome --headless --disable-gpu --remote-debugging-port=9222