mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-29 06:15:24 -04:00
🙂 Timeout set to 0
This commit is contained in:
parent
bb803ba49a
commit
ac19d8c73b
1 changed files with 4 additions and 2 deletions
|
@ -63,9 +63,11 @@ export const renderCursors = async ({
|
||||||
|
|
||||||
// Render
|
// Render
|
||||||
const page = await browser.newPage();
|
const page = await browser.newPage();
|
||||||
page.setDefaultNavigationTimeout(0);
|
|
||||||
|
|
||||||
await page.setContent(template);
|
await page.setContent(template, {
|
||||||
|
timeout: 0,
|
||||||
|
waitUntil: "networkidle0"
|
||||||
|
});
|
||||||
|
|
||||||
await page.waitForSelector("#container");
|
await page.waitForSelector("#container");
|
||||||
const svgElement = await page.$("#container svg");
|
const svgElement = await page.$("#container svg");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue