browser
browser copied to clipboard
Lightpanda: the headless browser designed for AI and automation
My code: ```ts console.log(` Navigating to ${url}...`); await page.goto(url, { waitUntil: 'networkidle', timeout: 5000 }); // Increased timeout console.log(` Navigation successful.`); console.log(` Extracting body text...`); const text = await page.evaluate(()...
Add many more tests from WPT
is there any way to use this library on selenium java ? if you give clue how to implement. We can implement it on java for help
This would help people figure out if they can use this library, and how best to contribute. Could be useful to categorize into: - Supported (working) - Roadmap (working on...
Should support custom user-agent, to fake as normal browser
**charset** In [`browser.zig`](https://github.com/lightpanda-io/browser/blob/main/src/browser/browser.zig#L420), in case of document HTML, we should try to determine the `charset` from a `meta` tag in the first 1024 bytes of the document. > The meta...
This works: `wget -O ttt https://www.volksbankinostwestfalen.de/ ` This fails: ``` ./lightpanda-2025-03-14 fetch --dump https://www.volksbankinostwestfalen.de/ error(cli): 'https://www.volksbankinostwestfalen.de/' fetching error (error.ConnectionResetByPeer) error: ConnectionResetByPeer ```
% ./lightpanda fetch --dump "https://ihpo.be/en/washer-dryers" info(browser): GET https://ihpo.be/en/washer-dryers 200 info(browser): fetch https://cdn.jsdelivr.net/npm/@alma/[email protected]/dist/widgets.umd.js: http.Status.ok info(browser): fetch https://ihpo.be/build/assets/app-5421f13c.js: http.Status.ok thread 24157823 panic: attempt to unwrap error zsh: abort ./lightpanda fetch --dump "https://ihpo.be/en/washer-dryers"
_Not specifically [gomcp](https://github.com/lightpanda-io/gomcp) issue, but trying to reach Lightpanda Cloud Go support team for go client connection demo code instead._ We tried _both_ **chromedp** and **go-rod**, _both failed_ after exhausted...