Spaces:
Sleeping
Sleeping
Download setup.sh from riazmo/ui-regression-testing-2: direct link, hf CLI and curl.
- Browser
- Download file 536 Bytes
-
https://huggingface.co/spaces/riazmo/ui-regression-testing-2/resolve/main/setup.sh
- Command line
-
hf download hf://spaces/riazmo/ui-regression-testing-2/setup.sh
-
curl -L -o setup.sh https://huggingface.co/spaces/riazmo/ui-regression-testing-2/resolve/main/setup.sh
536 Bytes
| # Non-interactive setup script for Hugging Face Spaces | |
| echo "π Starting UI Regression Testing Setup..." | |
| # Install dependencies | |
| pip install --upgrade pip | |
| pip install -r requirements.txt | |
| # Install Playwright browsers into a local writable directory | |
| export PLAYWRIGHT_BROWSERS_PATH=$(pwd)/.playwright-browsers | |
| mkdir -p $PLAYWRIGHT_BROWSERS_PATH | |
| pip install playwright | |
| python -m playwright install chromium | |
| # Create output directories | |
| mkdir -p reports data/figma data/website data/comparisons | |
| echo "β Setup Complete!" | |