Commit Graph

422 Commits

Author SHA1 Message Date
Laith Weinberger 3ed95c8b9c fix browser-use skill sync 2026-07-01 11:48:19 +08:00
Laith Weinberger d73eea6329 sync browser-use skill from browser-harness 2026-06-29 15:20:21 +08:00
Laith Weinberger 7d3247a81e Update browser use CLI install checks 2026-06-29 13:48:30 +08:00
Larsen Cundric 1186d4cc44 publish: gate publish_to_pypi behind release env
browser-use ships to PyPI via OIDC trusted-publishing today, but the
publish job had no environment gate — anyone with workflow-dispatch
access (or any token with workflow scope) could trigger a publish
single-handedly. Adds:

- environment: release on publish_to_pypi
  Reviewers configured separately on the env: gregpr07, MagMueller,
  sauravpanda. prevent_self_review:true so the dispatcher cannot
  self-approve.

- Fail-closed preflight that verifies the env still has required
  reviewers and prevent_self_review enabled before publishing.
  Same check the sdk pipeline uses. Guards against silent env
  config drift.

- actions: read permission on the publish job for the env check.

Does NOT change the trigger model (release:published + workflow_dispatch),
does NOT touch tag_pre_release, does NOT touch the trusted-publishing
publish command itself. Minimal change, single security win:
two-person rule on every PyPI release.

Refs ENG-4762.
2026-06-10 15:31:33 +02:00
Gregor Žunič 636470a1aa Allow manual publish without auto tag 2026-06-08 11:15:14 -07:00
Gregor Žunič 3e6cf7d2ac Refresh browser-use-core during CI sync 2026-06-08 10:54:57 -07:00
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
Felix 553c211cd5 docs: clarify integration example placement 2026-05-17 21:05:33 +10:00
Ankit Kotnala 88d61e8b62 docs: update issue template setup and docs links 2026-04-26 21:49:57 +05:30
grtninja 81089417fa ci: pin stale workflow action 2026-04-11 03:13:48 -04:00
Laith Weinberger 3cd7841052 drop unnecessary contents:read from cloud_evals workflow 2026-03-22 17:14:42 -04:00
Laith Weinberger e539ee7b73 use contents: read instead of empty permissions on CI workflows 2026-03-22 17:10:49 -04:00
Laith Weinberger 6f6f08d501 restrict default GITHUB_TOKEN permissions on CI workflows 2026-03-22 16:45:36 -04:00
ShawnPana 3318f56318 simplify CLI infrastructure: single-session daemon, remove install modes, streamline setup
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 10:12:41 -07:00
Saurav Panda 6c984ad02b install python version in lint.yml 2026-02-23 16:05:06 -08:00
ShawnPana 5ccfc44da8 refactor: move install.sh to browser_use/skill_cli/
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-12 10:19:45 -08:00
ShawnPana b7468fa887 fix(ci): use macos-14 instead of deprecated macos-13 2026-02-10 17:48:21 -08:00
ShawnPana 086e745323 fix(ci): Windows Unicode and macOS shell config issues
- Add PYTHONIOENCODING=utf-8 env for Windows to handle Unicode
  checkmarks and other special characters
- Remove "Source shell config" steps that fail on missing files
- Simplify to just "Add to PATH" since GITHUB_PATH is sufficient

Fixes: UnicodeEncodeError on Windows for checkmark character
Fixes: macOS failing on missing ~/.zshrc

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 17:40:11 -08:00
ShawnPana 639c409623 fix(ci): use fork repo for PR tests, remove cloudflared checks
- Use github.event.pull_request.head.repo.full_name for PRs to get
  the fork's repo where the branch actually exists
- Remove cloudflared verification from uv pip/uvx tests since
  browser-use install only installs Chromium, not cloudflared

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 17:35:52 -08:00
ShawnPana aaf9362d1e fix(install): add Windows and CI compatibility
- Add get_venv_bin_dir() and activate_venv() helpers for cross-platform
  venv path handling (Scripts on Windows, bin on Unix)
- Replace all hardcoded venv activation calls with activate_venv
- Auto-install Python in non-interactive mode (CI) instead of prompting
  from /dev/tty which doesn't exist in CI environments
- Update configure_path grep to match both Windows and Unix venv paths
- Add setup-python to Linux CI jobs for faster, more reliable installs

Fixes Windows test failures with:
  install.sh: line 355: .../bin/activate: No such file or directory

Fixes Linux test failures with:
  install.sh: line 650: /dev/tty: No such device or address

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 17:33:52 -08:00
ShawnPana 37f58b4f85 ci: add comprehensive install script tests
Test install.sh across all platforms (Linux, macOS, Windows) with all
modes (--remote-only, --local-only, --full). Also test alternative
install methods (uv pip install, uvx).

Verifies:
- CLI works after install
- install-config.json has correct modes
- Chromium installed for local/full modes
- cloudflared installed for remote/full modes
- browser-use doctor passes

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-10 17:26:31 -08:00
Cursor Agent db36243b5f Fix typo in logging level environment variable
Co-authored-by: mailmertunsal <mailmertunsal@gmail.com>
2025-12-12 19:40:54 +00:00
Gregor Žunič 2dec060965 turned off model selection field 2025-11-21 17:19:53 -08:00
Magnus Müller 99dad56141 Run v8 2025-10-29 23:07:09 -07:00
Magnus Müller 04e987df99 Add stacked DOM elements test for complex scenarios
- Introduced a new HTML template for testing stacked DOM elements, including open and closed shadow DOMs, same-origin and cross-origin iframes, and a final button.
- Implemented a test case to validate click functionality through these stacked elements, ensuring that all interactive elements are clickable and that the click counter reflects the expected number of clicks.
- Enhanced the browser session configuration to accommodate a taller window size for better visibility of stacked elements.

This update aims to improve the robustness of DOM interaction tests and ensure comprehensive coverage of complex scenarios in the browser automation framework.
2025-10-26 23:16:06 -07:00
Magnus Müller 8ff9dbe090 Remove unnecessary blank lines in the eval-on-pr workflow file to improve readability and maintainability. 2025-10-26 16:40:57 -07:00
Magnus Müller 67a0919fe1 remove comment 2025-10-26 16:10:47 -07:00
Magnus Müller c23137f21e New logs 2025-10-26 16:07:03 -07:00
Magnus Müller 45448477d6 New logs 2025-10-26 15:51:33 -07:00
Magnus Müller 3b09df2b01 New logs 2025-10-26 15:43:31 -07:00
Magnus Müller bf41b0ef23 Pass PR branch name to evaluation platform
- Add branchName parameter to API call
- This allows the UI to show the actual PR branch instead of 'main'

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 15:34:41 -07:00
Magnus Müller d3fdc3bbfd New logs 2025-10-26 15:28:20 -07:00
Magnus Müller 0a896a0eaf New logs 2025-10-26 15:19:19 -07:00
Magnus Müller 162a8d3a2d New logs 2025-10-26 15:15:04 -07:00
Magnus Müller 83ccb630cc New logs 2025-10-26 15:03:04 -07:00
Magnus Müller 9915af7e1b New logs 2025-10-26 15:00:07 -07:00
Magnus Müller 2e083f050d Remove commented options from eval-on-pr.yml to streamline the workflow configuration 2025-10-26 14:55:48 -07:00
Magnus Müller b09af25e86 Remove commented options from eval-on-pr.yml to streamline the workflow configuration 2025-10-26 14:54:14 -07:00
Magnus Müller a0bb331c7c Update error message in eval-on-pr.yml for clarity 2025-10-26 13:27:32 -07:00
Magnus Müller 7b962095e7 Update error message in eval-on-pr.yml for clarity 2025-10-26 13:24:59 -07:00
Magnus Müller 659c0d5652 Update error message in eval-on-pr.yml for clarity 2025-10-26 13:17:36 -07:00
Magnus Müller c1e86bc46d Update error message in eval-on-pr.yml for clarity 2025-10-26 13:13:24 -07:00
Magnus Müller 9e05f10b34 New logs 2025-10-26 13:08:46 -07:00
Magnus Müller 37df2bdc69 New logs 2025-10-26 13:04:03 -07:00
Magnus Müller e7b628ff95 New logs 2025-10-26 12:53:47 -07:00
Magnus Müller 394484d9ec New logs 2025-10-26 12:49:29 -07:00
Magnus Müller 89fbccd5c3 New logs 2025-10-26 12:37:07 -07:00
Magnus Müller 81edf51b44 New logs 2025-10-26 12:24:53 -07:00
Magnus Müller 82300c7ca5 New logs 2025-10-26 11:58:40 -07:00
Magnus Müller 0a81e787ce New logs 2025-10-26 11:07:58 -07:00