beatsaber-bot-core 0.2.0-rc.3 → 0.2.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/utils/puppeteer.js +1 -1
- package/package.json +1 -1
package/lib/utils/puppeteer.js
CHANGED
@@ -80,7 +80,7 @@ class PuppeteerRender {
|
|
80
80
|
await page.goto(url, { timeout: 0, waitUntil: 'domcontentloaded' });
|
81
81
|
const elm = await page.waitForSelector(selector, { timeout: 10000 });
|
82
82
|
// wait for potential animation
|
83
|
-
await (0, index_1.sleep)(
|
83
|
+
await (0, index_1.sleep)(8000);
|
84
84
|
// const clip = await elm.boundingBox()
|
85
85
|
const buffer = await elm
|
86
86
|
.screenshot();
|