Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the context init script just a teeny tiny bit pretty please 😻 #477

Open
eastlondoner opened this issue Feb 9, 2025 · 1 comment

Comments

@eastlondoner
Copy link

  1. So @pkiv doesn't end up making PRs on a Sunday like this:
    Bundle the Stagehand DOM script for better portability eastlondoner/cursor-tools#20
  2. It's needed if someone wants to set up their own playwright contexts
  3. It needs to be used in a slightly different way to bootstrap to an already running CDP server

But mainly reason 1, Paul's a great guy I'm sure he has better things to do on a Sunday.

A private static field on a class would be fine really, just some way for code that depends on Stagehand to access it. Right now it's closured in to functions in a way that makes it inaccessible, at least as far as I can tell.

@kamath
Copy link
Contributor

kamath commented Feb 9, 2025

thanks for the issue and the feedback!!

encourage the audience here to check out the wonderful work done on cursor-tools and this phenomenal stagehand integration

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

No branches or pull requests

2 participants