Commit Graph

58 Commits

Author SHA1 Message Date
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
Nick Sweeting
241b4e076b fix examples issues 2025-05-26 03:43:17 -07:00
Nick Sweeting
7939f4522a updating more browser examples 2025-05-25 14:33:09 -07:00
Nick Sweeting
f8967a12f4 reuse patchright instance 2025-05-23 18:36:09 -07:00
Nick Sweeting
7540fdbf71 fix string math error 2025-05-23 18:34:36 -07:00
Nick Sweeting
ba85963c45 merge browser_viewport tests into single example 2025-05-23 18:21:19 -07:00
Nick Sweeting
3a86fac15f minor comments and logging improvements 2025-05-23 18:21:18 -07:00
Nick Sweeting
9190a908a5 stealth comments 2025-05-20 06:09:28 -07:00
Nick Sweeting
c6504da9ea more stealth browser launch tuning 2025-05-20 06:05:35 -07:00
Nick Sweeting
2f002b4c22 rename session.py profile.py, fix stealth example, fix tests 2025-05-20 05:34:47 -07:00
Nick Sweeting
63382d8bfc update examples to use new BrowserProfile and BrowserSession 2025-05-20 02:32:43 -07:00
Nick Sweeting
3e66046046 linter 2025-05-13 17:18:50 -07:00