generated from fahricansecer/boilerplate-fe
feat: Implement text-to-video and fix hydration UI issues
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
const puppeteer = require('puppeteer');
|
||||
|
||||
(async () => {
|
||||
const browser = await puppeteer.launch();
|
||||
const page = await browser.newPage();
|
||||
page.on('console', msg => console.log('PAGE LOG:', msg.text()));
|
||||
page.on('pageerror', error => console.log('PAGE ERROR:', error.message));
|
||||
page.on('requestfailed', request => console.log('REQUEST FAILED:', request.url(), request.failure().errorText));
|
||||
|
||||
await page.goto('http://localhost:3001/tr/dashboard/text-to-video');
|
||||
await new Promise(r => setTimeout(r, 2000));
|
||||
await browser.close();
|
||||
})();
|
||||
Reference in New Issue
Block a user