Open geronsv opened 1 year ago
Workaround: replace popup with redirect:
var replacePopupWithRedirect = function(){
window.super_open = window.open;
window.open = function (url, windowName, windowFeatures) {
window.super_open(url, "_self", windowFeatures);
}
}
await page.evaluate(replacePopupWithRedirect);
X-Crawlera headers are not inserted into the first request in popup window