先关闭所有chrome进程
启动必须指定 --user-data-dir 否则无法开启CDP
nohup "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
--remote-debugging-port=9222 \
--user-data-dir=/Users/luca/chrome-profile \
>/tmp/chrome-cdp.log 2>&1 &
nohup "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" \
--remote-debugging-port=9222 \
--user-data-dir=/Users/luca/chrome-profile \
>/tmp/chrome-cdp.log 2>&1 &