8000 stagehand tool by filip-michalsky · Pull Request #277 · crewAIInc/crewAI-tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

stagehand tool #277

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

filip-michalsky
Copy link
@filip-michalsky filip-michalsky commented Apr 20, 2025

Integration of Stagehand Python SDK with CrewAI

https://pypi.org/project/stagehand-py/

@filip-michalsky filip-michalsky marked this pull request as ready for review April 20, 2025 16:13
@lucasgomide
Copy link
Contributor

@filip-michalsky could you share a video showing this tool working?

@filip-michalsky
Copy link
Author

@filip-michalsky could you share a video showing this tool working?

Hey @lucasgomide - absolutely!

Here is a video of the Stagehand tool powering atomic browsing commands for CrewAI web research agent:

https://screen.studio/share/1HTuXVvs

please let me know if you have any other questions for this PR?

Copy link
Contributor
@lucasgomide lucasgomide left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job! I liked that..

I drop a few comments, let me know what you think

print 8000 (result)

# Make sure to clean up stagehand resources
stagehand_tool.close()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about adding contextmanager support or recommending a try/finally approach instead?

We did something similar in MCPServer.

Comment on lines +320 to +321
if __name__ == "__main__":
pytest.main(["-xvs", "stagehand_tool_test.py"])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need this. The pytest should be able to collect and run this file automatically

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.

2 participants
0