aslushnikov/getting-started-with-cdp

Getting no output when running the command specified in the README.md

Opened this issue · 1 comments

When I run chrome.exe --remote-debugging-port=0 Chrome starts without printing anything to the console from which I ran the command. You said I should get something like

DevTools listening on ws://127.0.0.1:36775/devtools/browser/a292f96c-7332-4ce8-82a9-7411f3bd280a

but I don't get anything.

For anyone wondering why this happens, it's because we need to use the user data directory flag:

--user-data-dir=/path-to-your-directory/

Just create a new directory somewhere and pass that