Stagehand Version 1.8.0
All stagehand
AI has been moved directly onto the page
object so now you can convert your Playwright code directly into Stagehand with just one line changed.
Just import @browserbasehq/stagehand
and init the page like below.