Closed sjerpbouwtsites closed 1 year ago
staat er twee keer in. wordt niet gebruikt.
// zet ErrorWrapper class in puppeteer document. await page.evaluate( ({ ErrorWrapperString }) => { const newScriptContent = ErrorWrapperString; const scriptTag = document.createElement('script'); scriptTag.id = 'rockagenda-extra-code'; scriptTag.innerHTML = newScriptContent; document.body.appendChild(scriptTag); }, { ErrorWrapperString: ErrorWrapper.toString() }, );
staat er twee keer in. wordt niet gebruikt.