TypeError: undefined is not a constructor (evaluating 'n.find(function(i){return t.defaults.SOURCES[i]&&e.match(t.defaults.SOURCES[i].REGEX)?i:null})')
Cause
Running script in a headless browser plugin, either for scraping or mock test, caused this exception. Fixing buildscript while adding polyfills might solve it.
Stack
Cause
Running script in a headless browser plugin, either for scraping or mock test, caused this exception. Fixing buildscript while adding polyfills might solve it.