timeout error fix

This commit is contained in:
ful1e5 2020-08-22 12:14:29 +05:30
parent 90a8939238
commit f9e78961b9

View file

@ -63,6 +63,8 @@ export const renderCursors = async ({
// Render
const page = await browser.newPage();
page.setDefaultNavigationTimeout(0);
await page.setContent(template);
await page.waitForSelector("#container");
@ -86,6 +88,7 @@ export const renderCursors = async ({
const template = generateRenderTemplate(data);
const page = await browser.newPage();
page.setDefaultNavigationTimeout(0);
await page.setContent(template);
await page.waitForSelector("#container");