Commit Graph

107 Commits

Author SHA1 Message Date
yasithdev 8ea4b4c71a centralize playwright/patchwright imports, and update typing/checks to reduce lint errors 2025-06-16 22:57:20 -04:00
Magnus Müller c48d83f54d Refactor web search functionality to improve SERP API integration. Updated action description for clarity, streamlined data handling by excluding unnecessary fields, and enhanced logging for debugging. Returns only relevant organic search results. 2025-06-09 15:38:19 +02:00
Magnus Müller a63752b504 Update task description in file_upload.py: Revert task string to previous URL for file upload instructions, ensuring clarity in the upload process. 2025-06-06 23:40:37 +02:00
Magnus Müller ba7ac0c9d2 Refactor file upload process in file_upload.py: Removed BrowserProfile initialization, streamlined BrowserSession usage, and updated task description for clarity. 2025-06-06 23:19:54 +02:00
derekmeegan 7e141a9058 add mistral example with shebang 2025-06-03 12:36:40 -04:00
BroskyBrowser 000ee0d262 chore: linting + ignore .venv folders 2025-05-27 12:23:19 +02:00
BroskyBrowser 0997c0d46c chore: linting + ignore .venv folders 2025-05-27 12:18:26 +02:00
Nick Sweeting f19adf9bb3 remove dead code, cleanup examples and tests 2025-05-26 18:37:52 -07:00
Magnus Müller 6a5c0b61f2 Add 2FA functionality using pyotp in a new script
This commit introduces a new script, `2fa.py`, which implements a custom action to retrieve 2FA/MFA codes using the `pyotp` library. The action extracts the OTP secret key from an environment variable and generates a time-based one-time password. Additionally, the script includes an example task demonstrating how to use the 2FA action within an agent-based workflow.

### Key Changes:
- New file `examples/custom-functions/2fa.py` added.
- Custom action `get_otp_2fa` to generate 2FA codes.
- Example usage of the action in an asynchronous context.

This addition enhances the functionality of the agent system by providing secure 2FA code retrieval capabilities.
2025-05-25 18:10:00 +02:00
Magnus Müller 8a5f7a5ead Refactor perplexity search to use httpx for asynchronous requests
This update replaces the synchronous requests library with httpx for making asynchronous API calls in the perplexity search function. The change improves performance and error handling by utilizing async capabilities, ensuring better integration with the overall asynchronous architecture.
2025-05-25 16:46:08 +02:00
Magnus Müller 18d1c0d895 Add perplexity search functionality with API integration
This commit introduces a new script for searching the web using the Perplexity API. It includes the definition of data models for handling person information, an asynchronous search function, and a main execution flow that retrieves and displays email addresses for specified individuals. The script also incorporates error handling for missing API keys.
2025-05-25 16:17:38 +02:00
BroskyBrowser 7db5794bbe fix: fixed wildcard subdomain in action definition 2025-05-25 15:18:22 +02:00
BroskyBrowser 3db45ebd20 fix: improved amazon captcha solver solution check 2025-05-25 15:08:38 +02:00
Nick Sweeting addeb56f8c add new param optimization test 2025-05-25 03:50:02 -07:00
BroskyBrowser 516e79c225 fix: handle error solving captcha 2025-05-24 18:29:06 +02:00
BroskyBrowser 005475acf6 feat: added amazon captcha solver action example 2025-05-24 16:48:12 +02:00
Evgeny Kim 5da261310b Improve file upload detection 2025-05-23 13:05:06 +02:00
Nick Sweeting 22bf1c30c6 Merge branch 'main' into bug-bash 2025-05-23 01:40:58 -07:00
Magnus Müller 9021e83c15 Update advanced_search.py to change include_in_memory parameter to False in ActionResult and modify task description for concurrent processing of search queries. 2025-05-21 13:02:22 +02:00
Magnus Müller 18c13bda26 Refactor advanced_search.py to use SERP API for web search and improve error handling for API keys. Added logging for debugging and updated agent initialization with BrowserProfile. 2025-05-21 12:20:51 +02:00
yasithdev b491c87144 fix few bugs due to api changes, conditional logics, and null type-checks 2025-05-21 01:38:04 -05:00
Nick Sweeting 63382d8bfc update examples to use new BrowserProfile and BrowserSession 2025-05-20 02:32:43 -07:00
Nick Sweeting f17cf4de75 linter fixes 2025-05-13 17:25:08 -07:00
Nick Sweeting bfcd8a0140 make examples imports more consistent 2025-05-13 17:18:09 -07:00
Nick Sweeting 96682d8910 switch back from patchright to playwright until issues are resolved 2025-05-09 18:14:07 -07:00
Nick Sweeting 23252192a0 remove non-functional group tabs code 2025-05-04 19:40:27 +08:00
Nick Sweeting 2be4ba4f70 more pyupgrade changes 2025-05-02 20:50:21 +08:00
Anirudha619 2cea6aef79 run pre-commit 2025-04-25 23:42:23 +05:30
lynn 192b42ff79 chore: replace playwright with patchright 2025-04-22 15:43:01 +08:00
Christian Clauss fb3282527d Detect blocking synchronous commands in asyncio code 2025-04-21 22:30:43 +02:00
Christian Clauss e7c3f43808 Fix typos discovered by codespell 2025-03-31 07:47:56 +02:00
Nick Sweeting bf1afd9422 add example of getting 2FA code from 1password 2025-03-30 16:23:53 -07:00
Nick Sweeting fb6fa259a8 apply ruff safe fixes 2025-03-28 18:11:36 -07:00
Nick Sweeting e85e8f468d add more pre-commit-hooks 2025-03-28 17:15:10 -07:00
Nick Sweeting 226eb99a4f Merge branch 'main' into ruff-linting 2025-03-28 15:44:47 -07:00
Nick Sweeting e2e278da95 fix syntax errors 2025-03-28 15:39:31 -07:00
Nick Sweeting ec56bfe81b run ruff on the entire codebase 2025-03-28 01:22:48 -07:00
Nick Sweeting 4df0b368d6 add docstring explaining action filters 2025-03-28 00:46:54 -07:00
Nick Sweeting 4928e2857b improve the action_filters example 2025-03-28 00:46:53 -07:00
Nick Sweeting 41a63c2298 add example demonstrating new feature 2025-03-27 19:08:13 -07:00
Carlos Andrés Planchón Prestes 611b49ee1f Import fix on custom_hooks_before_after_step.py example. 2025-03-27 20:59:07 -03:00
Carlos Andrés Planchón Prestes 36fb264e40 Adding custom_hooks_before_after_step.py example. 2025-03-27 19:53:36 -03:00
Nick Sweeting 69a960fa4b refactor browser config setup process 2025-03-27 02:45:12 -07:00
Jeff Andrade 0e5e108e10 Merge branch 'browser-use:main' into Click-on-non-indexed-elements 2025-03-26 09:37:09 +00:00
jersobh 4a201f4c69 handling multiple elements with the same text 2025-03-26 02:53:14 +00:00
Nick Sweeting d95527ab27 Merge branch 'main' into enhancement/add_tabGroups_chrome 2025-03-25 16:34:08 -07:00
Edison S fb22cc5a99 add multibrowser support 2025-03-05 13:32:03 -05:00
Magnus Müller 5720298254 Find email address example 2025-02-20 18:56:15 -08:00
Magnus Müller 208f9f3517 Example find influencer profiles 2025-02-17 17:09:02 -08:00
SwapnilSonker 2099aabbd6 group/ungroup code moved to custom_functions 2025-02-15 18:17:51 +05:30