Skip to content

Remove playwright-core dep from TS exa-browserbase template#57

Open
shrey150 wants to merge 1 commit intodevfrom
shrey/exa-remove-playwright-dep
Open

Remove playwright-core dep from TS exa-browserbase template#57
shrey150 wants to merge 1 commit intodevfrom
shrey/exa-remove-playwright-dep

Conversation

@shrey150
Copy link
Contributor

Summary

  • Replaced raw Playwright CDP connection with Stagehand's native locator() and deepLocator() for resume file uploads
  • Removed playwright-core from dependencies in package.json
  • Updated README to reflect that Stagehand (not Playwright) handles file uploads

The TS Stagehand SDK has native setInputFiles() support on its Locator (via Understudy), including deepLocator for iframe traversal. The playwright-core dependency was unnecessary.

Test plan

  • Run the exa-browserbase template end-to-end and verify resume upload works on main page
  • Verify resume upload works when file input is inside an iframe

🤖 Generated with Claude Code

Use Stagehand's native locator and deepLocator for resume file uploads
instead of connecting via raw Playwright CDP. This eliminates the
playwright-core dependency entirely from the TypeScript template.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@shrey150 shrey150 requested a review from jay-sahnan February 10, 2026 01:52
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.

1 participant