Commit Graph

69 Commits

Author SHA1 Message Date
Saurav Panda b00c41b66b chore(llm): recommend gemini-3-flash-preview in examples and tests
- add gemini-3-flash-preview-lite to VerifiedGeminiModels and token mappings
- list both gemini-3-flash-preview[-lite] alongside existing -latest aliases in CLOUD.md and api-v2.md SupportedLLMs
- swap example code and recommendations (examples/, AGENTS.md, quickstart.md, bug report placeholder) to gemini-3-flash-preview / -lite
- update Google CI test + evaluate_tasks judge LLM to gemini-3-flash-preview / -lite
2026-05-22 10:47:58 -07:00
laithrw 2249e75fd8 Merge branch 'main' into improving-real-browser 2026-02-20 19:28:06 -05:00
reformedot 75431077fb Merge branch 'feat/add-custom-headers-support-and-example' of github.com:browser-use/browser-use into feat/add-custom-headers-support-and-example 2026-02-17 21:49:14 -08:00
reformedot d4d5533327 refactor: implement custom headers injection via a watchdog in the example 2026-02-17 21:49:05 -08:00
Aitor 802f17cf91 Merge branch 'main' into feat/add-custom-headers-support-and-example 2026-02-18 06:22:42 +01:00
reformedot de659f9768 feat: add custom headres support + add example 2026-02-17 21:15:11 -08:00
laithrw 878c735973 Merge branch 'main' into improving-real-browser 2026-01-30 19:27:55 -05:00
Saurav Panda 20f4f2a984 switched to bu-2-0 in all the examples 2026-01-29 18:04:44 -08:00
Laith Weinberger d8aef72702 lint 2026-01-27 11:58:25 -05:00
Laith Weinberger 77160b7d79 feat: add Browser.from_system_chrome() for real browser auto-detection
- auto-detects chrome executable and user data dir on macos/windows/linux
- auto-selects first available profile if none specified
- added Browser.list_chrome_profiles() to see available profiles
- updated examples to prompt user for profile selection
- fixed missing browser.stop() in save_cookies.py
2026-01-27 11:52:48 -05:00
Gregor Žunič 9c88c5a828 better cloud params 2025-10-30 13:05:41 -07:00
Gregor Žunič a3c6fd8025 changed browser use api key creation url everywhere 2025-10-25 10:38:10 -07:00
Magnus Müller 51153b1e06 note to close chrome 2025-10-24 02:38:29 -07:00
Magnus Müller 5601401c11 Add export_storage_state method to BrowserSession for cookie and storage export
- Introduced a new method `export_storage_state` that allows exporting browser cookies and storage in Playwright format.
- Added functionality to save the exported state to a specified JSON file.
- Updated example scripts to demonstrate the usage of the new method.
2025-10-01 23:00:00 -07:00
Magnus Müller 2e874d0095 Remove profile args which prevent cookie usage 2025-10-01 21:35:56 -07:00
Cu1111 3c8efee4d6 fix: fix the spelling mistakes in the using_cdp example 2025-09-25 12:59:32 +08:00
Saurav Panda 77bf459bb5 updated docs and added link to signup for a api key 2025-09-18 18:20:07 -07:00
Saurav Panda 0a13273fc2 refc: renamed cloud_browser to use_cloud 2025-09-18 15:29:49 -07:00
Saurav Panda 85a2386c91 feat: added cloud_browser feature 2025-09-16 22:27:45 -07:00
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
Magnus Müller 23e4521109 Better instructions 2025-08-27 10:09:57 -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 caa0e7ef1b Rename controller to tools instances 2025-08-26 11:30:39 -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 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
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
Magnus Müller 4f5932b5a8 Remove browser examples 2025-08-18 18:37:03 -07:00
Magnus Müller cc481d4cfd Real browser example 2025-08-18 18:27:39 -07:00
Nick Sweeting 557067b8e9 remove expect_download param from click action 2025-08-08 17:42:46 -07:00
Nick Sweeting 3bb8fb0fee improve focus tracking 2025-08-08 07:15:04 -07:00
Nick Sweeting 03c7343408 bump pyright version 2025-07-10 18:51:56 -07:00
mertunsall 220f0bc994 update models to gpt-4.1 2025-07-05 10:32:49 +02:00
Gregor Žunič 7a10ae0c96 Squashed commit langchain to native 2025-06-24 12:26:55 +02:00
Nick Sweeting 0af8c8c0fe imports 2025-06-21 06:29:10 -07:00
Nick Sweeting 3209fd95f7 lint and hint fixes 2025-06-21 06:07:21 -07:00
Nick Sweeting f878b8f07c type hint fixes 2025-06-21 05:16:02 -07:00
Nick Sweeting 6bc1f7985f more type hint fixes 2025-06-21 04:56:27 -07:00
yasithdev 8ea4b4c71a centralize playwright/patchwright imports, and update typing/checks to reduce lint errors 2025-06-16 22:57:20 -04:00
Nick Sweeting 9259deaf7f vastly improve examples/browser/multiple_agents_same_browser.py 2025-06-10 02:11:37 -07:00
Nick Sweeting de17b02f4a vastly improve examples/browser/multiple_agents_same_browser.py 2025-06-10 02:11:14 -07:00
Nick Sweeting 1580ed6e8b more formatting 2025-06-03 16:03:12 -07:00
Nick Sweeting a33bd7eea5 bump dependency versions 2025-06-03 16:03:08 -07:00
Nick Sweeting d546c3d8bd move multiple agents example into browser dir 2025-05-27 22:31:32 -07:00
Nick Sweeting 47f24f6b10 more comments 2025-05-26 18:40:40 -07:00
Nick Sweeting f19adf9bb3 remove dead code, cleanup examples and tests 2025-05-26 18:37:52 -07:00