Ariel Frischer
Ariel Frischer
@tungs This did not seem to work, I didn't even see the log triggering... Also tried writing it like this, which didn't work either: ``` timecut({ //... navigatePageToURL: async ({...
So yea, this renders the error page given by react, the TS/React error shown is a result of window.renderData not being injected with data. CONSOLE LOGS ``` DevTools listening on...
I'll try testing with console.log now.
Just realized I wasn't on the latest release, I was `v0.1.4`, I'll update now and try @OskarAhl method as well.
Updated to `timecut v0.2.0` Interesting running the following code suggested by @OskarAhl : ```typescript preparePage: async page => { console.log('Running preparePage!'); console.log(`page`, page); await page.evaluate(data => { console.log(`data`, data); const...
> `page.evaluateOnNewDocument` evaluates its function inside the page context, so `log` by itself won't be available. If you need to log, you can use `console.log` instead, just for that function....
Update - I've gotten localStorage to work though first going to the page `page.goto`, then evaluating then reloading + `page.goto` again: ```typescript async navigatePageToURL({ page, url, log }) { log('navigatePageToURL()');...
I wanted to inject data into window, I tried using preparePage with page.evaluate() but that didn't seem to work either. Is there another way to access the page's window before...
@tungs I've posted the details of my issue here as a feature request: https://github.com/tungs/timecut/issues/50
Is there a way to render the video in backend? Another repository for this??