Skip to content

docs(browser): clarify DOM global scope - #134

Open
MagMueller wants to merge 1 commit into
mainfrom
dom-global-scope
Open

docs(browser): clarify DOM global scope#134
MagMueller wants to merge 1 commit into
mainfrom
dom-global-scope

Conversation

@MagMueller

@MagMueller MagMueller commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • clarify that page globals are only available in session.Runtime.evaluate(...)
  • distinguish the page context from the surrounding browser_execute snippet

Validation

  • git diff --check

Closes #131


Summary by cubic

Clarified bcode-browser docs: page globals (document, window, location) are available only within session.Runtime.evaluate(...), not in the surrounding browser_execute snippet. This removes ambiguity between the page context and the snippet context.

Written for commit ad976cc. Summary will update on new commits.

Review in cubic

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

Copy link
Copy Markdown

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.

docs(browser): clarify page global scope

1 participant