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

test: fix for previous commit

Karim shoair5685e4930c36
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index dca6106..f1a7343 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -63,7 +63,7 @@ jobs:
- name: Get Playwright version
id: playwright-version
run: |
- PLAYWRIGHT_VERSION=$(python3 -c "import playwright; print(playwright.__version__)")
+ PLAYWRIGHT_VERSION=$(python3 -c "import importlib.metadata; print(importlib.metadata.version('playwright'))")
echo "version=$PLAYWRIGHT_VERSION" >> $GITHUB_OUTPUT
echo "Playwright version: $PLAYWRIGHT_VERSION"
@@ -89,7 +89,7 @@ jobs:
- name: Get Camoufox version
id: camoufox-version
run: |
- CAMOUFOX_VERSION=$(python3 -c "import camoufox; print(camoufox.__version__)")
+ CAMOUFOX_VERSION=$(python3 -c "import importlib.metadata; print(importlib.metadata.version('camoufox'))")
echo "version=$CAMOUFOX_VERSION" >> $GITHUB_OUTPUT
echo "Camoufox version: $CAMOUFOX_VERSION"