Merge pull request #782 from RohitR311/image-fix
fix: images do not load in recorder
This commit is contained in:
@@ -380,6 +380,7 @@ export class RemoteBrowser {
|
|||||||
);
|
);
|
||||||
|
|
||||||
await this.currentPage.mouse.wheel(data.deltaX, data.deltaY);
|
await this.currentPage.mouse.wheel(data.deltaX, data.deltaY);
|
||||||
|
await this.currentPage.waitForLoadState("networkidle", { timeout: 5000 });
|
||||||
|
|
||||||
const scrollInfo = await this.currentPage.evaluate(() => ({
|
const scrollInfo = await this.currentPage.evaluate(() => ({
|
||||||
x: window.scrollX,
|
x: window.scrollX,
|
||||||
@@ -1590,7 +1591,7 @@ export class RemoteBrowser {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return window.rrwebSnapshot.snapshot(document, {
|
return window.rrwebSnapshot.snapshot(document, {
|
||||||
inlineImages: true,
|
inlineImages: false,
|
||||||
collectFonts: true,
|
collectFonts: true,
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user