Skip to content

Instantly share code, notes, and snippets.

@jimthedev
jimthedev / run.sh
Created April 17, 2017 16:33
testcafe w/headless chrome canary on osx
# Assuming your tests are in test/testcafe/index.test.js
# Assumes you are using this setup: objectpartners.com/2017/04/13/how-to-install-and-use-headless-chrome-on-osx/
$(npm bin)/testcafe path:\''{"path":"/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary","cmd":"--headless --remote-debugging-port=9222 --disable-gpu"}'\' test/testcafe/index.test.js