chromeless icon indicating copy to clipboard operation
chromeless copied to clipboard

stop using headless mode

Open rotempl opened this issue 6 years ago • 2 comments

Hi How do I stop using headless mode and continue to run it locally?

rotempl avatar Feb 08 '18 16:02 rotempl

Do not use default launchChrome: true set it to false according to https://github.com/graphcool/chromeless#local-chrome-usage

Then you need to run browser in separate terminal before you execute your chromeless script as described, but leave out --headless parameter.

All will happen in front of your eyes now.

vasekch avatar Mar 02 '18 14:03 vasekch

i tried this with google canary, and the new window will open but the script still runs headlessly

\pathToCanary\chrome.exe --disable-gpu --remote-debugging-port=9222 && node myFile.js

allison98 avatar Jul 25 '18 17:07 allison98