diff --git a/tests/e2e/test_crawlee/actor_source/playwright.Dockerfile b/tests/e2e/test_crawlee/actor_source/playwright.Dockerfile index 99c0e5f7..90f7c246 100644 --- a/tests/e2e/test_crawlee/actor_source/playwright.Dockerfile +++ b/tests/e2e/test_crawlee/actor_source/playwright.Dockerfile @@ -6,4 +6,8 @@ RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/* RUN pip install --force-reinstall -r requirements.txt +# Reinstall the Chromium binary so it matches the just-installed Playwright version +# (the base image's pre-installed browser can lag behind a newer Playwright pulled via crawlee[playwright]). +RUN playwright install chromium + CMD ["sh", "-c", "python server.py & python -m src"]