page and context
stagehand.page and stagehand.context are instances of Playwright’s Page and BrowserContext respectively. Use these methods to interact with the Playwright instance that Stagehand is using.
How Stagehand interacts with Playwright
page and contextstagehand.page and stagehand.context are instances of Playwright’s Page and BrowserContext respectively. Use these methods to interact with the Playwright instance that Stagehand is using.