Skip to content

About

Try Playwright lets you execute and share Playwright scripts in your browser to get started with Playwright.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

235 stars

Watchers

6 watching

Forks

Latest commit

 

History

369 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Try Playwright

CI Playwright Component Tests Playwright version

Interactive playground for Playwright to run examples directly from your browser

Setting up a Try Playwright environment with k3s

curl -sfL https://get.k3s.io | sh -
apt update
apt install -y git
git clone https://github.com/mxschmitt/try-playwright.git
openssl req -x509 -nodes -days 730 -newkey rsa:2048 -keyout tls.key -out tls.crt -subj "/CN=try.playwright.tech/O=try.playwright.tech"
kubectl create secret tls try-playwright-cf-tls-cert --key=tls.key --cert=tls.crt
cd try-playwright
# Settings for k8/generate.sh. upgrade_k3s_containers.sh reads the same file on every deploy.
mkdir -p /etc/try-playwright
(umask 077; cat > /etc/try-playwright/env <<EOF
TURNSTILE_SECRET_KEY=<your Turnstile secret key>
RUSTFS_ACCESS_KEY=tryplaywright
RUSTFS_SECRET_KEY=$(openssl rand -hex 32)
LOG_AGGREGATOR_ENABLED=false
LOG_AGGREGATOR_URL=
EOF
)
set -a; . /etc/try-playwright/env; set +a
bash k8/generate.sh
# Remove MinIO if this cluster was created before the RustFS migration.
kubectl delete deployment,service minio --ignore-not-found
kubectl apply -f k8/

Automatic updates

upgrade_k3s_containers.sh (run from cron every 15 minutes) deploys origin/main once its CI run is green: it regenerates and applies k8/ with /etc/try-playwright/env, deletes resources listed in RETIRED_RESOURCES, pulls the images, restarts the app deployments and checks control and object storage health. When removing a manifest from k8/, add its resources to RETIRED_RESOURCES.

For more information about the infrastructure and contributing, see here.

About

Try Playwright lets you execute and share Playwright scripts in your browser to get started with Playwright.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

235 stars

Watchers

6 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages