Commit Graph

596 Commits

Author SHA1 Message Date
Magnus Müller
c36ea38e78 Merge branch 'main' into smaller-highlights 2025-08-31 07:57:52 -07:00
Magnus Müller
81461cdfff Adjust font size and padding calculations for enhanced bounding box rendering in Python highlights; update task description in example script for clarity. 2025-08-31 07:43:38 -07:00
mertunsall
5bce1b6898 enable auto download pdfs 2025-08-31 12:40:24 +02:00
Magnus Müller
23e4521109 Better instructions 2025-08-27 10:09:57 -07:00
Magnus Müller
97eb3690bc Fix simple example 2025-08-27 01:09:10 -07:00
Magnus Müller
14229cd6e3 Enhance example scripts and improve test handling
- Updated `simple.py` to initialize `Browser` and `Tools` instances, improving agent configuration.
- Fixed action decorator in `notification.py` by removing trailing space for consistency.
- Adjusted test behavior in `test_browser_session_tab_management.py` to skip tests on initial tab count issues, improving test reliability.
- Stopped server in `test_browser_watchdog_downloads_upload_full_circle.py` to ensure proper cleanup before skipping tests.

These changes aim to enhance clarity and maintainability across examples and tests.
2025-08-27 01:04:14 -07:00
Magnus Müller
ce33625262 Rename browser_context to _cdp_client_root and remove test_concurrent 2025-08-26 18:46:37 -07:00
Magnus Müller
9463e4eb1e Fix simple example 2025-08-26 14:23:40 -07:00
Magnus Müller
29685aa7ce Merge remote-tracking branch 'origin/main' into rename-controller-to-tools 2025-08-26 13:58:21 -07:00
Magnus Müller
e27e1c9d65 Update simple example 2025-08-26 13:07:29 -07:00
Magnus Müller
caa0e7ef1b Rename controller to tools instances 2025-08-26 11:30:39 -07:00
Magnus Müller
dbfaffa8d1 Agent service update tools with backward compatible 2025-08-26 11:24:06 -07:00
Magnus Müller
e89e78842c Rename controller file to tools 2025-08-26 11:06:28 -07:00
Magnus Müller
2a83442f17 Rename Controller to Tools 2025-08-26 11:04:16 -07:00
reformedot
c5f74d253e fix: fixed example after recent changes 2025-08-26 13:15:31 +01:00
Magnus Müller
ecc1f40aa5 Fix simple example 2025-08-25 23:34:04 -07:00
Magnus Müller
fd5482d9cc Enhance documentation and examples for browser customization
- 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.
2025-08-25 23:24:47 -07:00
Magnus Müller
dc5d06d760 More examples 2025-08-25 23:14:17 -07:00
Magnus Müller
5fe19f03f7 Update .gitignore and add example for running multiple browser agents in parallel
- 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.
2025-08-25 22:13:33 -07:00
Magnus Müller
483c824e80 Update documentation for browser customization
- Added new section for "Multiple Browser Instances" with example code for running agents in parallel using separate browser instances.
- Updated "Keep Open" documentation to reflect changes in task execution, simplifying the agent run process.
- Revised "Real Browser" documentation to clarify connection methods and updated example code for better usability.
- Removed outdated content from "Remote Browsers" section to streamline information and improve clarity.
2025-08-25 21:59:50 -07:00
Magnus Müller
4150f02396 Dropdown for agent 2025-08-25 10:48:38 -07:00
Magnus Müller
353386acbe Remove logs example 2025-08-24 17:14:59 -07:00
Magnus Müller
146b7ff423 safe info and debug logs to files 2025-08-24 16:47:02 -07:00
Magnus Müller
6ca9b5d225 simplify follow up 2025-08-24 16:15:06 -07:00
Magnus Müller
1e400c3da1 fix add_new_task for eventbus 2025-08-24 16:09:04 -07:00
reformedot
9f88172cb6 chore: linting 2025-08-23 11:47:35 +01:00
reformedot
968754f601 fix: removed laminar dependency 2025-08-23 11:40:24 +01:00
reformedot
569aeca8e0 fix: improved browser examples 2025-08-23 11:38:34 +01:00
Nick Sweeting
1173e2c3ab bump pre-commit check versions 2025-08-22 18:29:56 -07:00
Magnus Müller
edb6d7619e example OpenLLMetry 2025-08-21 12:14:24 -07:00
Magnus Müller
9d27efaf04 remove agent call method 2025-08-21 11:32:42 -07:00
Magnus Müller
8063ef6282 Prompt update 2025-08-21 08:33:26 -07:00
Magnus Müller
7549460f95 Simplify example 2025-08-20 22:58:15 -07:00
Magnus Müller
b73b88d25f Update speed optimization example to use ChatGroq for improved inference performance 2025-08-20 22:44:40 -07:00
Magnus Müller
15f30214b4 Simplify to 1 line of code 2025-08-20 22:36:30 -07:00
Magnus Müller
f4ebfe31bf Update prompt 2025-08-20 22:20:21 -07:00
Magnus Müller
a288da3a0f Speed example 2025-08-20 21:32:34 -07:00
Magnus Müller
4319826b27 Merge branch 'main' into set-defaultllm 2025-08-20 13:20:03 -07:00
Magnus Müller
c1a28ba503 set default_llm 2025-08-20 13:19:44 -07:00
Gregor Žunič
9449e7c377 feat: added examples on how to use the cloud api (#2729)
<!-- This is an auto-generated description by cubic. -->

## Summary by cubic
Add a complete set of Python examples for the Browser Use Cloud API,
plus a README and .env template, to help developers get started quickly
and follow best practices. Covers basic tasks, speed/cost optimization,
structured output, proxy usage, and the beta Search API.

- **New Features**
- Five runnable examples: basic task, fast mode with Gemini Flash,
structured JSON with Pydantic, proxy by country, and Search API (async).
- README with setup, cost optimization tips, security guidance, and
production best practices; env.example for easy configuration.
- Built-in timeouts, retry logic, CLI flags, and shareable execution
URLs for reliable, repeatable runs.

<!-- End of auto-generated description by cubic. -->
2025-08-20 10:16:43 -07:00
Magnus Müller
db442220e6 Update task description in secure example to specify sensitive company name 2025-08-19 22:33:34 -07:00
Magnus Müller
c1442d7ee8 update secure example 2025-08-19 22:31:56 -07:00
Magnus Müller
69d45683e3 example-secure 2025-08-19 22:21:31 -07:00
Saurav Panda
087bea7d73 fixed cubic issues 2025-08-19 19:05:27 -07:00
Saurav Panda
9e108a25f3 feat: added examples on how to use the cloud api 2025-08-19 18:50:11 -07:00
Magnus Müller
be402700b5 fix-llm-timeout-errors 2025-08-19 09:58:55 -07:00
Magnus Müller
05fd6dd2c2 Merge branch 'clean-logs' of https://github.com/browser-use/browser-use into clean-logs 2025-08-19 01:36:59 -07:00
Magnus Müller
fa977bccb6 Fix type checker 2025-08-19 01:36:23 -07:00
Gregor Žunič
1483cab468 Merge branch 'main' into feature/ux-docs-improvements 2025-08-18 20:41:08 -07:00
Magnus Müller
5242cb5cb1 Remove x example 2025-08-18 20:10:25 -07:00