-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat: Enable custom skills in JSON scenarios for Browser Use Agent #645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This commit adds support for deterministic execution of JSON-based browser automation scenarios using custom skills in the Browser Use Agent. Key changes: - Dynamically register custom skills from src.custom_skills as controller actions - Fix Pydantic JSON schema errors by adding proper type annotations - Avoid leading underscores in function names to comply with Pydantic field naming rules - Add Wikipedia example scenario demonstrating cross-page data extraction - Create documentation explaining the integration approach and usage - Add integration tests to verify custom skills functionality - Update requirements.txt with lxml[html_clean] dependency This enables users to create deterministic browser automation scenarios using skills like goto, clickCss, waitFor, and waitForUrl directly in JSON format, rather than relying solely on natural language instructions.
feat: Enable custom skills in JSON scenarios for Browser Use Agent This commit adds support for deterministic execution of JSON-based browser automation scenarios using custom skills in the Browser Use Agent. Key changes:
This enables users to create deterministic browser automation scenarios using skills like goto, clickCss, waitFor, and waitForUrl directly in JSON format, rather than relying solely on natural language instructions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cubic found 5 issues across 7 files. Review them in cubic.dev
React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai
to give specific feedback.
- Pin lxml[html_clean] version to 4.9.3 in requirements.txt for deterministic builds - Fix timeout handling in wait_for_url and wait_for_selector (remove division by 1000) - Use correct state='detached' instead of 'hidden' for element removal detection - Add missing imports (BrowserContext, Dict) in documentation code snippet
fix: Address AI reviewer feedback on custom skills implementation
|
This commit adds support for deterministic execution of JSON-based browser automation scenarios using custom skills in the Browser Use Agent.
Key changes:
This enables users to create deterministic browser automation scenarios using skills like goto, clickCss, waitFor, and waitForUrl directly in JSON format, rather than relying solely on natural language instructions.
Summary by cubic
Added support for using custom skills in JSON-based browser automation scenarios with the Browser Use Agent. Users can now define steps like goto, clickCss, waitFor, and waitForUrl directly in JSON for more reliable and deterministic automation.
New Features
Dependencies