-
-
Save kevsersrca/58b5e26d8910609b6bc231427ec478e6 to your computer and use it in GitHub Desktop.
headless chrome from terminal in osX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment