Skip to content

connection.md: unattended Allow-sheet click + Retina coordinate gotcha#413

Open
seviglius wants to merge 1 commit into
browser-use:mainfrom
seviglius:docs/allow-sheet-and-retina-coords
Open

connection.md: unattended Allow-sheet click + Retina coordinate gotcha#413
seviglius wants to merge 1 commit into
browser-use:mainfrom
seviglius:docs/allow-sheet-and-retina-coords

Conversation

@seviglius

@seviglius seviglius commented Jun 9, 2026

Copy link
Copy Markdown

Two field-tested additions from an unattended session:

  1. Chrome 148 'Allow remote debugging?' sheet can be detected and clicked via AppleScript even with no user present — the sheet only exists while a CDP connect is pending, and its buttons are unnamed (match description, not name/title). Includes the exact group path.
  2. Retina screenshot downscaling: screenshot() PNGs are half the CSS pixel size, so coordinates read off the image miss by 2x. Documented the DOM-rect pattern and the banner-shift trap (Google Cloud console).

🤖 Generated with Claude Code


Summary by cubic

Documented how to auto-click Chrome 148+ “Allow remote debugging?” sheet on macOS via AppleScript for unattended CDP connects, and clarified Retina screenshot vs. click coordinate mismatch. Includes the exact AX group path and description-matching for the sheet, plus a DOM-rect pattern or scaling guidance and a note on shifting banners (e.g., Google Cloud).

Written for commit 431c89e. Summary will update on new commits.

Review in cubic

@browser-harness-review

Copy link
Copy Markdown

✅ Skill review passed

Reviewed 1 file(s) — no findings.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 1 file

Re-trigger cubic

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