Closed utkusen closed 5 years ago
my pull request makes debugging this easier by not sending output to dev/null.
Meanwhile try changing this part:
process = subprocess.Popen(CHROME_DEBUGGING_CMD, shell=True,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL)
To this:
process = subprocess.Popen(CHROME_DEBUGGING_CMD, shell=True)
It's probably related to incorrect path to Chrome in CHROME_DEBUGGING_CMD or permission.
Ok I figured out the problem. Program gives me this error:/bin/sh: /Applications/Google: No such file or directory
I checked the code but path seems correct:/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
However, on macOS we can't use space character on the file paths like this. When I insert backslashes before the space characters, it works:CHROME_CMD = "/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome"
Glad you found the problem. I also had to escape spaces in Windows.
it give me the following /bin/sh: 1: google-chrome: not found
Hello, Thank you for this research and tool. However, I failed to test the tool for myself. Got following error messages (OS is macOS)