Skip to content

feat: wait for app to be ready - config options - #3

Merged
code-alexander merged 3 commits into
mainfrom
dev
Mar 8, 2026
Merged

feat: wait for app to be ready - config options#3
code-alexander merged 3 commits into
mainfrom
dev

Conversation

@code-alexander

Copy link
Copy Markdown

No description provided.

code-alexander and others added 3 commits March 8, 2026 20:04
the default domcontentloaded wait was too early for apps with async
rendering (React, etc.), causing blank screenshots on first capture.

- upgrade default wait from domcontentloaded to load + double rAF
- add browser.readyCondition config with waitForSelector,
  waitForFunction, and waitForLoadState options
- document the new config in README and skill

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
tests for waitForSelector, waitForFunction, waitForLoadState, and
combined conditions using delayed-rendering fixture apps that prove the
daemon waits for each condition before taking snapshots.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Mar 8, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 2eceb03

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
electron-playwright-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@code-alexander
code-alexander merged commit ae50181 into main Mar 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant