Skip to content

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

Bug playwright not found

Magnus Müller2ca0ba38ecb3
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml
index 16942518e..5603bbed7 100644
--- a/.github/workflows/test.yaml
+++ b/.github/workflows/test.yaml
@@ -96,8 +96,12 @@ jobs:
id: playwright-version
run: |
PLAYWRIGHT_VERSION=$(uv pip list --format json | jq -r '.[] | select(.name == "playwright") | .version')
+ if [ -z "$PLAYWRIGHT_VERSION" ]; then
+ echo "❌ ERROR: Failed to detect Playwright version" >&2
+ exit 1
+ fi
echo "version=$PLAYWRIGHT_VERSION" >> $GITHUB_OUTPUT
- echo "Playwright version: $PLAYWRIGHT_VERSION"
+ echo "✅ Playwright version: $PLAYWRIGHT_VERSION"
- name: Cache chromium binaries
uses: actions/cache@v4
@@ -160,8 +164,12 @@ jobs:
id: playwright-version
run: |
PLAYWRIGHT_VERSION=$(uv pip list --format json | jq -r '.[] | select(.name == "playwright") | .version')
+ if [ -z "$PLAYWRIGHT_VERSION" ]; then
+ echo "❌ ERROR: Failed to detect Playwright version" >&2
+ exit 1
+ fi
echo "version=$PLAYWRIGHT_VERSION" >> $GITHUB_OUTPUT
- echo "Playwright version: $PLAYWRIGHT_VERSION"
+ echo "✅ Playwright version: $PLAYWRIGHT_VERSION"
- name: Cache chromium binaries
uses: actions/cache@v4