Skip to content

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

Update failing test

Magnus Müller8ed1f6cb8855
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 1ca8ac594..6fe5af1ba 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -84,10 +84,16 @@ jobs:
with:
path: |
~/.cache/ms-playwright
- key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
+ key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}-chromium
#- run: playwright install chrome # tests that need it can install it manually
- - run: playwright install chromium
+ - run: playwright install chromium --with-deps
+
+ - name: Verify Playwright installation
+ run: |
+ playwright --version
+ ls -la ~/.cache/ms-playwright/ || echo "No playwright cache found"
+ find ~/.cache/ms-playwright/ -name "chrome*" -type f 2>/dev/null | head -5 || echo "No chrome binaries found"
- run: pytest tests/ci/${{ matrix.test_filename }}.py
@@ -117,9 +123,15 @@ jobs:
with:
path: |
~/.cache/ms-playwright
- key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}
+ key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}-chromium
- - run: playwright install chromium
+ - run: playwright install chromium --with-deps
+
+ - name: Verify Playwright installation
+ run: |
+ playwright --version
+ ls -la ~/.cache/ms-playwright/ || echo "No playwright cache found"
+ find ~/.cache/ms-playwright/ -name "chrome*" -type f 2>/dev/null | head -5 || echo "No chrome binaries found"
- name: Run agent tasks evaluation and capture score
id: eval