Skip to content

Instantly share code, notes, and snippets.

@mw866
Created January 24, 2022 01:15
Show Gist options
  • Save mw866/9500d685ffcfdcfcf933a204203b0da2 to your computer and use it in GitHub Desktop.
Save mw866/9500d685ffcfdcfcf933a204203b0da2 to your computer and use it in GitHub Desktop.
#chrome
#!/bin/zsh
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --headless --disable-gpu --remote-debugging-port=9222 https://www.example.com
echo "Connec to the remote target at chrome://inspect/#devices`
read -p "Press Return to Close..."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment