You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ ./lightpanda serve --host 127.0.0.1 --port 9222
info(server): accepting new conn...
info(server): client connected
info(browser): GET https://linkedin.com/ 200
info(browser): fetch https://static.licdn.com/aero-v1/sc/h/9gvyiifl4yl9bn197d0b77u8e: http.Status.ok
info(browser): eval script https://static.licdn.com/aero-v1/sc/h/9gvyiifl4yl9bn197d0b77u8e: ReferenceError: require is not defined
info(browser): fetch https://static.licdn.com/aero-v1/sc/h/5c81icanok4a9if4xo1qkuq7c: http.Status.ok
https://static.licdn.com/aero-v1/sc/h/5c81icanok4a9if4xo1qkuq7c:25493: Uncaught TypeError: e.getBoundingClientRect is not a function
https://static.licdn.com/aero-v1/sc/h/5c81icanok4a9if4xo1qkuq7c:330108: Uncaught TypeError: Cannot read properties of undefined (reading 'disableJsbeaconPagekeySuffix')
error(server): JS error
error(server): JS error
info(server): accepting new conn...
error(server): JS error
...
Then error(server): JS error keeps printing forever
I got this with this version on macOS
./lightpanda version
7b775d2
index.js
'use strict'importpuppeteerfrom'puppeteer-core';// use browserWSEndpoint to pass the Lightpanda's CDP server address.constbrowser=awaitpuppeteer.connect({browserWSEndpoint: "ws://127.0.0.1:9222",});// The rest of your script remains the same.constcontext=awaitbrowser.createBrowserContext();constpage=awaitcontext.newPage();// Dump all the links from the page.awaitpage.goto('https://linkedin.com/');awaitpage.close();awaitcontext.close();awaitbrowser.disconnect();
The text was updated successfully, but these errors were encountered:
Hello @gianpaj,
Thanks for your message.
The problem of forever loop comes from cancel implementation missing in the kqueue loop event (lightpanda-io/tigerbeetle-io#10). It happens only w/ macosx, It should work on linux w/ io_uring.
Awesome project!
Then
error(server): JS error
keeps printing foreverI got this with this version on macOS
index.js
The text was updated successfully, but these errors were encountered: