This commit adds a new example demonstrating the integration of Playwright with Browser-Use, showcasing how to utilize Playwright for form filling, taking screenshots, and extracting text. The example is linked in the documentation and includes installation instructions and a comprehensive code sample.
- **New Documentation**
- Added a new Playwright integration example in `playwright-integration.mdx`.
- Updated `docs.json` to include the new example in the documentation index.
- Enhanced the `add.mdx` file with references to the Playwright integration example.
This enhances the usability of Browser-Use by providing clear guidance on leveraging Playwright's capabilities alongside it.
- Updated sensitive_data definitions to remove type annotations for clarity.
- Simplified the structure of sensitive_data in multiple files, ensuring consistency in credential representation.
- Enhanced comments to guide users on the proper use of sensitive data in the context of 2FA and domain-specific credentials.
These changes improve the readability and maintainability of the code while ensuring secure handling of sensitive information.
- Reformatted JSON structure in `docs.json` for better readability.
- Updated navigation paths for development-related documentation.
- Removed outdated `hooks.mdx` and `mcp-client.mdx` files.
- Added new `get-help.mdx`, `local-setup.mdx`, `contribution-guide.mdx`, and `observability.mdx` files to enhance developer resources.
- Introduced `telemetry.mdx` to clarify data collection practices and opt-out options.
- Updated `mcp-server.mdx` to reflect current capabilities and usage instructions.
- Updated the "Add Tools" section to enhance clarity in tool registration instructions and examples.
- Revised the "Remove Tools" section description for better user understanding.
- Improved the "Response" section headings for consistency and clarity in context management.
- Introduced new documentation for "Available Tools" and "Remove Tools" to provide users with comprehensive guidance on tool management.
- Updated the "Basics" section to clarify the description of tools and included examples for better understanding.
- Enhanced the "Add Tools" section with additional examples to illustrate tool registration and usage.
- Improved the "Response" section by refining examples and clarifying the properties of `ActionResult` for better user comprehension.
- Added new tools: "get 2fa code" and "send emails" to the basic tools section.
- Updated action registration instructions to simplify usage of the `@controller.action` decorator.
- Clarified return types for tools, allowing both `ActionResult` and simple strings.
- Improved examples for success and error responses, emphasizing the use of `ActionResult` properties.
- Rearranged pages in the documentation for better organization.
- Updated icons and descriptions in `browser-basic` and `chain-agents` sections for clarity.
- Added new sections for "Secure Setup" and "More Examples" to provide comprehensive guidance on advanced use cases.
- Improved the `fast-agent` example with clearer speed optimization instructions.
- Refined the `browser-real-browser` documentation to simplify the connection description.
- Expanded the `allowed_domains` section to clarify domain pattern formats and security restrictions.
- Updated examples in the `sensitive_data` section to improve clarity and best practices for handling sensitive information.
- Emphasized the importance of using `use_vision=False` to prevent sensitive data exposure in screenshots.
- Added pattern to .gitignore for temporary profile directories.
- Introduced a new example script demonstrating how to run multiple agents with separate browser instances using asyncio.
- Simplified the example code for better clarity and usability.