docs(browser): clarify DOM global scope

MA
3mo ago
+1-0

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.