Wondering whether you have managed to figure out stable code for the example you have included above, which I could use as a baseline? Making my first steps using crawl4ai and I seem to be getting the following error for the same code.
[JS_EXEC]. ℹ Playwright execution error: Page.evaluate: SyntaxError: Unexpected
token 'const'
at eval (<anonymous>)
at UtilityScript.evaluate (<anonymous>:313:29)
at UtilityScript.<anonymous> (<anonymous>:1:44)
[