|
@@ -78,6 +78,7 @@ exports.getPageData = async options => {
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
win.Element.prototype.getBoundingClientRect = undefined;
|
|
win.Element.prototype.getBoundingClientRect = undefined;
|
|
|
|
|
+ win.getComputedStyle = () => { };
|
|
|
win.eval(scripts);
|
|
win.eval(scripts);
|
|
|
if (win.document.readyState == "loading") {
|
|
if (win.document.readyState == "loading") {
|
|
|
await new Promise(resolve => win.document.onload = resolve);
|
|
await new Promise(resolve => win.document.onload = resolve);
|