Skip to content

feat(web-integration): enable forceChromeSelectRendering by default and simplify report path logging#2653

Open
yuyutaotao wants to merge 2 commits into
mainfrom
claude/tender-archimedes-sd1ta9
Open

feat(web-integration): enable forceChromeSelectRendering by default and simplify report path logging#2653
yuyutaotao wants to merge 2 commits into
mainfrom
claude/tender-archimedes-sd1ta9

Conversation

@yuyutaotao

Copy link
Copy Markdown
Collaborator

The report generator printed the path three times across a run ("will be generated at" at construction, "generated" on first write, "finalized" on finalize). The construction line was redundant with the first-write line, and "finalized" was misleading since users append to the report on every call, so there is no real terminal state.

Collapse these into a single "Midscene - report file updated: " message emitted once on the first write, matching the wording already used by printReportMsg and documented in the site docs.

claude and others added 2 commits June 10, 2026 23:26
The report generator printed the path three times across a run
("will be generated at" at construction, "generated" on first write,
"finalized" on finalize). The construction line was redundant with the
first-write line, and "finalized" was misleading since users append to
the report on every call, so there is no real terminal state.

Collapse these into a single "Midscene - report file updated: <path>"
message emitted once on the first write, matching the wording already
used by printReportMsg and documented in the site docs.
- Default forceChromeSelectRendering to true for Puppeteer/Playwright agents
- Inject the select-rendering style only once per page (WeakSet guard) to
  avoid stacking duplicate load listeners across agent re-creation
- Only warn about driver version requirements when explicitly opted in
- Update bilingual docs and add unit coverage for the once-only injection
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying midscene with  Cloudflare Pages  Cloudflare Pages

Latest commit: 398b5b0
Status: ✅  Deploy successful!
Preview URL: https://252c8a8b.midscene.pages.dev
Branch Preview URL: https://claude-tender-archimedes-sd1.midscene.pages.dev

View logs

@ottomao ottomao changed the title refactor(core): simplify report path logging to a single "updated" tip feat(web-integration): enable forceChromeSelectRendering by default and simplify report path logging Jun 10, 2026
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.

4 participants