Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

looks like playwright need to run as normal user

Karim shoairf200e9b290e1
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 6d6efa8..69575d6 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -11,6 +11,7 @@ jobs:
runs-on: ${{ matrix.os }}
container:
image: mcr.microsoft.com/playwright/python:v1.48.0-jammy
+ options: --user 1001
strategy:
fail-fast: false
matrix:
@@ -46,8 +47,8 @@ jobs:
# Install lsb-release before setup-python so the cache work
- name: Install lsb-release
run: |
- apt-get update
- apt-get install -y lsb-release
+ sudo apt-get update
+ sudo apt-get install -y lsb-release
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5