Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Add matrix build for Python 3.11–3.13 on macOS, Windows, and Linux

dha-aa159c29cf700a
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
new file mode 100644
index 000000000..3dce850cd
--- /dev/null
+++ b/.github/workflows/build.yaml
@@ -0,0 +1,31 @@
+name: Build
+on:
+ push:
+ pull_request:
+ workflow_dispatch:
+
+jobs:
+ build:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, macos-latest, windows-latest]
+ python-version: ["3.11", "3.12", "3.13"]
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-python@v5
+ with:
+ python-version: ${{ matrix.python-version }}
+ - uses: astral-sh/setup-uv@v5
+ - run: uv build
+ - name: Set up and activate isolated venv
+ shell: bash
+ run: |
+ uv venv /tmp/testenv
+ if [[ "$RUNNER_OS" == "Windows" ]]; then
+ . /tmp/testenv/Scripts/activate
+ else
+ source /tmp/testenv/bin/activate
+ fi
+ uv pip install dist/*.whl
+ python -c "import browser_use; print('brose_use package is imported and functional!')"