Commit Graph

2 Commits

Author SHA1 Message Date
Magnus Müller
95ccbe5115 Refine Playwright integration example documentation
This commit updates the Playwright integration example in `playwright_integration.py` to provide a clearer overview of its key features. The previous detailed description has been condensed into a more concise format, highlighting the main functionalities of sharing a Chrome instance via CDP and the ability to perform actions with both Playwright and Browser-Use.

- **Documentation Update**
- Simplified the example description for better clarity and focus on key features.
2025-09-06 15:14:36 -07:00
Magnus Müller
b956c11567 Add advanced Playwright integration example
This commit introduces a new example demonstrating the integration of Playwright with Browser-Use. The example showcases how to start Chrome with CDP enabled, create custom actions for form filling, taking screenshots, and extracting text using Playwright's capabilities. It includes necessary dependency checks and a main function to orchestrate the workflow using an AI agent.

- **New Features**
- Implemented custom actions: `playwright_fill_form`, `playwright_screenshot`, and `playwright_get_text`.
- Added error handling and dependency checks for required libraries.
- Provided detailed documentation within the code for clarity on usage and functionality.
2025-09-06 14:54:52 -07:00