I use zombie.js to load the page from the local express server during the test. Unfortunately, there is a script element that is called in Google Analytics. I would like to block this external script (gracefully) without stopping other (local) scripts from loading, if possible.
I know what { runScripts : false }is available with challenges browser.visit(). However, he refuses to load all and all the scripts on the page, and not just those who live on other hosts. Is it possible?
source
share