Skip to content

Conversation

@miguelg719
Copy link
Collaborator

why

Feature parity for PRs in TS:

Stagehand now provides multi-tab support and this PR allows consistent expected behavior on both envs ("BROWSERBASE/LOCAL")

what changed

  • Added a frame_id_map to keep track of pages (now that live_page_proxy auto updates) in context.py
  • Added a frame_id property to StagehandPage
  • Pass the optional frame_id on api routes

test plan

Included unit test and regression:

@miguelg719 miguelg719 marked this pull request as ready for review August 11, 2025 23:56
@filip-michalsky filip-michalsky self-requested a review August 12, 2025 00:19
@filip-michalsky
Copy link
Collaborator

LGTM once we add my additions from here

@miguelg719 miguelg719 merged commit 2e3eb1a into main Aug 12, 2025
22 of 23 checks passed
@github-actions github-actions bot mentioned this pull request Aug 9, 2025
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.

3 participants