Compare commits
2 commits
011677e69f
...
0d280b26fd
Author | SHA1 | Date | |
---|---|---|---|
0d280b26fd | |||
3dfe483973 |
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ export function DlsiteManiax(browser: Browser) {
|
||||||
["width", "height"].map((d) => canvas.getAttribute(d).then(Number)),
|
["width", "height"].map((d) => canvas.getAttribute(d).then(Number)),
|
||||||
);
|
);
|
||||||
await page.setViewportSize({ width, height });
|
await page.setViewportSize({ width, height });
|
||||||
await page.waitForTimeout(500);
|
await page.waitForTimeout(1000);
|
||||||
const buff = await canvas.screenshot();
|
const buff = await canvas.screenshot();
|
||||||
files.push(async () => new Blob([buff], { type: "image/png" }));
|
files.push(async () => new Blob([buff], { type: "image/png" }));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue