docs(lightpanda): limits table for Lightpanda 1.0.4, downloads and sessions now work

Merged
CD
5d ago
+11-9

What and why

  • Updates the Lightpanda limits table to Lightpanda 1.0.4, from a run of the testbed's test:lightpanda suite
  • Moved to "What works"
    • Sessions: test.setup with session.save, and session: on a test
    • Downloads with browser.waitForDownload, supported over CDP since Lightpanda 1.0.3 (lightpanda-io/browser#4124)
  • browser.setCookies works before a page is open, so that qualifier is gone
  • Changed rows
    • Drag and drop: Input.setInterceptDrags no longer fails the test (lightpanda-io/browser#4228); the pointer moves, but nothing is dropped
    • Iframes: loadResources: ['stylesheet', 'iframe'], since a list replaces the ['stylesheet'] default from #1923
  • New row: file uploads through a button that opens a hidden file input fail after the action timeout, since Lightpanda never sends Page.fileChooserOpened
  • packages/lightpanda/README.md: the summary line matches the table
  • Written for today's Playwright engine; e2e-inc/e2e#1503 will need its own pass

Issue

None: a docs update.

Verified

Ran it locally: yes

  • LIGHTPANDA_PATH=/path/to/lightpanda pnpm test:lightpanda in apps/testbed, at 3fac999c, on Lightpanda 1.0.4:
    Tests  11 failed | 66 passed | 1 skipped (78)
    
    The 4 screenshot tests fail on a first run only, while they write their reference images
  • One test per changed row

Checklist

  • Changeset added (pnpm changeset) for any change to a published package, or the change is testbed, docs, or CI only.
  • Breaking change: title carries !, the changeset body names what breaks and what replaces it, and the deprecation warning landed a window earlier (stability policy in CONTRIBUTING.md).
  • Docs updated in the same PR: the docs/**/*.mdx page for the behavior, and skills/e2e/ if the skill describes it.
  • Contract change: emitted .d.ts reviewed, tests/types/sdk-types.ts updated; wire change edits the schema and both fixtures.
  • Engine contract change (e2e/engine): changesets for e2e, @e2e-dev/web, and @e2e-dev/mobile.