StagehandDefaultError:
Hey! We're sorry you ran into an error.
If you need help, please open a Github issue or reach out to us on Slack: https://stagehand.dev/slack
Full error:
page.evaluate: Target page, context or browser has been closed
at _StagehandPage.<anonymous> (/Users/ashik/Documents/team-qa/node_modules/@browserbasehq/stagehand/dist/index.js:3280:15)
at rejected (/Users/ashik/Documents/team-qa/node_modules/@browserbasehq/stagehand/dist/index.js:70:29)
Error Context: test-results/tests-cgmReport-CGM-Report-07f3e-ser-and-open-client-profile/error-context.md
When automating a flow that involves searching for a user and clicking the "Client Profile" link in our dashboard, the test fails with page.evaluate: Target page, context or browser has been closed. This happens immediately after selecting a user from the dropdown, even though the flow works manually in the browser.