Repository navigation
Commit 3042ae3
feat(helpers): add experimental Lightpanda helper (#5730)
* feat(helpers): add Lightpanda helper, share server lifecycle in CDPBrowser
Lightpanda is a thin CDPBrowser subclass that self-launches
`lightpanda serve` with telemetry disabled. The spawn/free-port/wait/kill
lifecycle moves from Obscura into CDPBrowser so both helpers share it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(typings): keep helper config types in types.d.ts only
An eighth duplicated *Config typedef makes TypeScript report the conflicts
as one file-level error that @ts-ignore cannot suppress.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: add Lightpanda getting-started guide for Playwright users
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: show how to point the Lightpanda helper at its binary
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: rewrite alternative browsers guide, drop pinned Lightpanda version
Install steps per engine and platform, one config to switch engines,
and latest-release download links instead of a hardcoded version.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: link to official install instructions instead of copying them
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: one section per engine in alternative browsers guide
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* docs: list only engine limitations confirmed by the test suite
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* fix(CDPBrowser): bound poll request timeout, prevent orphaned server process on failed start
- _waitForServer: each /json/version poll is bounded by a 1s (or remaining deadline) axios timeout,
so a port held by something that never responds can not hang the run forever
- _connect: self-managed resolution is attempted exactly once; on failure the error is stored
and rethrown on subsequent connects instead of spawning a second process
Co-Authored-By: Claude <noreply@anthropic.com>
* ci(lightpanda): pin browser to 1.0.0 release
releases/latest resolves to a nightly build; the suite is tested against stable
releases and attachFile (DOM.setFileInputFiles) fails on the current nightly
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: DavertMik <davert@testomat.io>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Denys Kuchma <den.kuchma@ukr.net>1 parent b90f04a commit 3042ae3
19 files changed
Lines changed: 4375 additions & 306 deletions
File tree
- .github/workflows
- docs
- helpers
- lib/helper
- test
- acceptance
- helper
- typings
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
399 | 399 | | |
400 | 400 | | |
401 | 401 | | |
| 402 | + | |
402 | 403 | | |
403 | 404 | | |
404 | 405 | | |
| |||
430 | 431 | | |
431 | 432 | | |
432 | 433 | | |
433 | | - | |
434 | | - | |
| 434 | + | |
435 | 435 | | |
436 | 436 | | |
437 | 437 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
0 commit comments