diff --git a/docs/src/ci.md b/docs/src/ci.md index 162378e7364e1..b763f2801ac49 100644 --- a/docs/src/ci.md +++ b/docs/src/ci.md @@ -143,7 +143,7 @@ Alternatively, you can use [Command line tools](./cli.md#install-system-dependen pool: vmImage: 'ubuntu-20.04' -container: mcr.microsoft.com/playwright:v1.22.0-focal +container: mcr.microsoft.com/playwright:v1.22.1-focal steps: ... @@ -157,7 +157,7 @@ Running Playwright on CircleCI requires the following steps: ```yml docker: - - image: mcr.microsoft.com/playwright:v1.22.0-focal + - image: mcr.microsoft.com/playwright:v1.22.1-focal environment: NODE_ENV: development # Needed if playwright is in `devDependencies` ``` @@ -179,7 +179,7 @@ to run tests on Jenkins. ```groovy pipeline { - agent { docker { image 'mcr.microsoft.com/playwright:v1.22.0-focal' } } + agent { docker { image 'mcr.microsoft.com/playwright:v1.22.1-focal' } } stages { stage('e2e-tests') { steps { @@ -196,7 +196,7 @@ pipeline { Bitbucket Pipelines can use public [Docker images as build environments](https://confluence.atlassian.com/bitbucket/use-docker-images-as-build-environments-792298897.html). To run Playwright tests on Bitbucket, use our public Docker image ([see Dockerfile](./docker.md)). ```yml -image: mcr.microsoft.com/playwright:v1.22.0-focal +image: mcr.microsoft.com/playwright:v1.22.1-focal ``` ### GitLab CI @@ -209,7 +209,7 @@ stages: tests: stage: test - image: mcr.microsoft.com/playwright:v1.22.0-focal + image: mcr.microsoft.com/playwright:v1.22.1-focal script: ... ``` diff --git a/docs/src/docker.md b/docs/src/docker.md index b6913ecb373b3..f5617b69b957e 100644 --- a/docs/src/docker.md +++ b/docs/src/docker.md @@ -14,19 +14,19 @@ This image is published on [Docker Hub]. ### Pull the image ```bash js -docker pull mcr.microsoft.com/playwright:v1.22.0-focal +docker pull mcr.microsoft.com/playwright:v1.22.1-focal ``` ```bash python -docker pull mcr.microsoft.com/playwright/python:v1.22.0-focal +docker pull mcr.microsoft.com/playwright/python:v1.22.1-focal ``` ```bash csharp -docker pull mcr.microsoft.com/playwright/dotnet:v1.22.0-focal +docker pull mcr.microsoft.com/playwright/dotnet:v1.22.1-focal ``` ```bash java -docker pull mcr.microsoft.com/playwright/java:v1.22.0-focal +docker pull mcr.microsoft.com/playwright/java:v1.22.1-focal ``` ### Run the image @@ -38,19 +38,19 @@ By default, the Docker image will use the `root` user to run the browsers. This On trusted websites, you can avoid creating a separate user and use root for it since you trust the code which will run on the browsers. ```bash js -docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.22.0-focal /bin/bash +docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.22.1-focal /bin/bash ``` ```bash python -docker run -it --rm --ipc=host mcr.microsoft.com/playwright/python:v1.22.0-focal /bin/bash +docker run -it --rm --ipc=host mcr.microsoft.com/playwright/python:v1.22.1-focal /bin/bash ``` ```bash csharp -docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.22.0-focal /bin/bash +docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.22.1-focal /bin/bash ``` ```bash java -docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.22.0-focal /bin/bash +docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.22.1-focal /bin/bash ``` #### Crawling and scraping @@ -58,19 +58,19 @@ docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.22.0-focal / On untrusted websites, it's recommended to use a separate user for launching the browsers in combination with the seccomp profile. Inside the container or if you are using the Docker image as a base image you have to use `adduser` for it. ```bash js -docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.22.0-focal /bin/bash +docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.22.1-focal /bin/bash ``` ```bash python -docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/python:v1.22.0-focal /bin/bash +docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/python:v1.22.1-focal /bin/bash ``` ```bash csharp -docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/dotnet:v1.22.0-focal /bin/bash +docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/dotnet:v1.22.1-focal /bin/bash ``` ```bash java -docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/java:v1.22.0-focal /bin/bash +docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright/java:v1.22.1-focal /bin/bash ``` [`seccomp_profile.json`](https://github.com/microsoft/playwright/blob/main/utils/docker/seccomp_profile.json) is needed to run Chromium with sandbox. This is a [default Docker seccomp profile](https://github.com/docker/engine/blob/d0d99b04cf6e00ed3fc27e81fc3d94e7eda70af3/profiles/seccomp/default.json) with extra user namespace cloning permissions: diff --git a/docs/src/test-snapshots-js.md b/docs/src/test-snapshots-js.md index ee3ed2dce4b18..037ff87c56d99 100644 --- a/docs/src/test-snapshots-js.md +++ b/docs/src/test-snapshots-js.md @@ -56,7 +56,7 @@ The snapshot name `example-test-1-chromium-darwin.png` consists of a few parts: If you are not on the same operating system as your CI system, you can use Docker to generate/update the screenshots: ```bash -docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.22.0-focal /bin/bash +docker run --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.22.1-focal /bin/bash npm install npx playwright test --update-snapshots ``` diff --git a/package-lock.json b/package-lock.json index 96634de9001f1..ad7cc2fbae2d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "playwright-internal", - "version": "1.22.0", + "version": "1.22.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "playwright-internal", - "version": "1.22.0", + "version": "1.22.1", "license": "Apache-2.0", "workspaces": [ "packages/*" @@ -5668,11 +5668,11 @@ "version": "0.0.0" }, "packages/playwright": { - "version": "1.22.0", + "version": "1.22.1", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" }, "bin": { "playwright": "cli.js" @@ -5682,11 +5682,11 @@ } }, "packages/playwright-chromium": { - "version": "1.22.0", + "version": "1.22.1", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" }, "bin": { "playwright": "cli.js" @@ -5696,7 +5696,7 @@ } }, "packages/playwright-core": { - "version": "1.22.0", + "version": "1.22.1", "license": "Apache-2.0", "bin": { "playwright": "cli.js" @@ -5707,10 +5707,10 @@ }, "packages/playwright-ct-react": { "name": "@playwright/experimental-ct-react", - "version": "1.22.0", + "version": "1.22.1", "license": "Apache-2.0", "dependencies": { - "@playwright/test": "1.22.0", + "@playwright/test": "1.22.1", "@vitejs/plugin-react": "^1.0.7", "vite": "^2.9.5" }, @@ -5720,10 +5720,10 @@ }, "packages/playwright-ct-svelte": { "name": "@playwright/experimental-ct-svelte", - "version": "1.22.0", + "version": "1.22.1", "license": "Apache-2.0", "dependencies": { - "@playwright/test": "1.22.0", + "@playwright/test": "1.22.1", "@sveltejs/vite-plugin-svelte": "^1.0.0-next.30", "vite": "^2.9.5" }, @@ -5733,10 +5733,10 @@ }, "packages/playwright-ct-vue": { "name": "@playwright/experimental-ct-vue", - "version": "1.22.0", + "version": "1.22.1", "license": "Apache-2.0", "dependencies": { - "@playwright/test": "1.22.0", + "@playwright/test": "1.22.1", "@vitejs/plugin-vue": "^2.3.1", "vite": "^2.9.5" }, @@ -5745,11 +5745,11 @@ } }, "packages/playwright-firefox": { - "version": "1.22.0", + "version": "1.22.1", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" }, "bin": { "playwright": "cli.js" @@ -5760,10 +5760,10 @@ }, "packages/playwright-test": { "name": "@playwright/test", - "version": "1.22.0", + "version": "1.22.1", "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" }, "bin": { "playwright": "cli.js" @@ -5773,11 +5773,11 @@ } }, "packages/playwright-webkit": { - "version": "1.22.0", + "version": "1.22.1", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" }, "bin": { "playwright": "cli.js" @@ -6385,7 +6385,7 @@ "@playwright/experimental-ct-react": { "version": "file:packages/playwright-ct-react", "requires": { - "@playwright/test": "1.22.0", + "@playwright/test": "1.22.1", "@vitejs/plugin-react": "^1.0.7", "vite": "^2.9.5" } @@ -6393,7 +6393,7 @@ "@playwright/experimental-ct-svelte": { "version": "file:packages/playwright-ct-svelte", "requires": { - "@playwright/test": "1.22.0", + "@playwright/test": "1.22.1", "@sveltejs/vite-plugin-svelte": "^1.0.0-next.30", "vite": "^2.9.5" } @@ -6401,7 +6401,7 @@ "@playwright/experimental-ct-vue": { "version": "file:packages/playwright-ct-vue", "requires": { - "@playwright/test": "1.22.0", + "@playwright/test": "1.22.1", "@vitejs/plugin-vue": "^2.3.1", "vite": "^2.9.5" } @@ -6409,7 +6409,7 @@ "@playwright/test": { "version": "file:packages/playwright-test", "requires": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" } }, "@rollup/pluginutils": { @@ -8968,13 +8968,13 @@ "playwright": { "version": "file:packages/playwright", "requires": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" } }, "playwright-chromium": { "version": "file:packages/playwright-chromium", "requires": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" } }, "playwright-core": { @@ -8983,13 +8983,13 @@ "playwright-firefox": { "version": "file:packages/playwright-firefox", "requires": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" } }, "playwright-webkit": { "version": "file:packages/playwright-webkit", "requires": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" } }, "postcss": { diff --git a/package.json b/package.json index 8b8c3bc779f01..0ed3c213ac793 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "playwright-internal", "private": true, - "version": "1.22.0", + "version": "1.22.1", "description": "A high-level API to automate web browsers", "repository": "github:Microsoft/playwright", "homepage": "https://playwright.dev", diff --git a/packages/playwright-chromium/package.json b/packages/playwright-chromium/package.json index 7b6aa3d971096..84a7bcf987cec 100644 --- a/packages/playwright-chromium/package.json +++ b/packages/playwright-chromium/package.json @@ -1,6 +1,6 @@ { "name": "playwright-chromium", - "version": "1.22.0", + "version": "1.22.1", "description": "A high-level API to automate Chromium", "repository": "github:Microsoft/playwright", "homepage": "https://playwright.dev", @@ -26,6 +26,6 @@ "install": "node install.js" }, "dependencies": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" } } diff --git a/packages/playwright-core/package.json b/packages/playwright-core/package.json index f286b9a82822f..96d898ae11e98 100644 --- a/packages/playwright-core/package.json +++ b/packages/playwright-core/package.json @@ -1,6 +1,6 @@ { "name": "playwright-core", - "version": "1.22.0", + "version": "1.22.1", "description": "A high-level API to automate web browsers", "repository": "github:Microsoft/playwright", "homepage": "https://playwright.dev", diff --git a/packages/playwright-ct-react/package.json b/packages/playwright-ct-react/package.json index bd3bcab2aadd5..ecdc76ba719d6 100644 --- a/packages/playwright-ct-react/package.json +++ b/packages/playwright-ct-react/package.json @@ -1,6 +1,6 @@ { "name": "@playwright/experimental-ct-react", - "version": "1.22.0", + "version": "1.22.1", "description": "Playwright Component Testing for React", "repository": "github:Microsoft/playwright", "homepage": "https://playwright.dev", @@ -17,7 +17,7 @@ }, "dependencies": { "@vitejs/plugin-react": "^1.0.7", - "@playwright/test": "1.22.0", + "@playwright/test": "1.22.1", "vite": "^2.9.5" } } diff --git a/packages/playwright-ct-svelte/package.json b/packages/playwright-ct-svelte/package.json index 5cbc4dc16fbbb..ce60f2e42c4c5 100644 --- a/packages/playwright-ct-svelte/package.json +++ b/packages/playwright-ct-svelte/package.json @@ -1,6 +1,6 @@ { "name": "@playwright/experimental-ct-svelte", - "version": "1.22.0", + "version": "1.22.1", "description": "Playwright Component Testing for Svelte", "repository": "github:Microsoft/playwright", "homepage": "https://playwright.dev", @@ -17,7 +17,7 @@ }, "dependencies": { "@sveltejs/vite-plugin-svelte": "^1.0.0-next.30", - "@playwright/test": "1.22.0", + "@playwright/test": "1.22.1", "vite": "^2.9.5" } } diff --git a/packages/playwright-ct-vue/package.json b/packages/playwright-ct-vue/package.json index 3d045ec8b8363..4b4424c543e7e 100644 --- a/packages/playwright-ct-vue/package.json +++ b/packages/playwright-ct-vue/package.json @@ -1,6 +1,6 @@ { "name": "@playwright/experimental-ct-vue", - "version": "1.22.0", + "version": "1.22.1", "description": "Playwright Component Testing for Vue", "repository": "github:Microsoft/playwright", "homepage": "https://playwright.dev", @@ -17,7 +17,7 @@ }, "dependencies": { "@vitejs/plugin-vue": "^2.3.1", - "@playwright/test": "1.22.0", + "@playwright/test": "1.22.1", "vite": "^2.9.5" } } diff --git a/packages/playwright-firefox/package.json b/packages/playwright-firefox/package.json index 936731124eec9..8de6509cf0682 100644 --- a/packages/playwright-firefox/package.json +++ b/packages/playwright-firefox/package.json @@ -1,6 +1,6 @@ { "name": "playwright-firefox", - "version": "1.22.0", + "version": "1.22.1", "description": "A high-level API to automate Firefox", "repository": "github:Microsoft/playwright", "homepage": "https://playwright.dev", @@ -26,6 +26,6 @@ "install": "node install.js" }, "dependencies": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" } } diff --git a/packages/playwright-test/package.json b/packages/playwright-test/package.json index 0eb6710e139f2..2d1cbefd2f474 100644 --- a/packages/playwright-test/package.json +++ b/packages/playwright-test/package.json @@ -1,6 +1,6 @@ { "name": "@playwright/test", - "version": "1.22.0", + "version": "1.22.1", "description": "A high-level API to automate web browsers", "repository": "github:Microsoft/playwright", "homepage": "https://playwright.dev", @@ -31,6 +31,6 @@ }, "license": "Apache-2.0", "dependencies": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" } } diff --git a/packages/playwright-webkit/package.json b/packages/playwright-webkit/package.json index e5ca0c913cada..f2d99d0b578cb 100644 --- a/packages/playwright-webkit/package.json +++ b/packages/playwright-webkit/package.json @@ -1,6 +1,6 @@ { "name": "playwright-webkit", - "version": "1.22.0", + "version": "1.22.1", "description": "A high-level API to automate WebKit", "repository": "github:Microsoft/playwright", "homepage": "https://playwright.dev", @@ -26,6 +26,6 @@ "install": "node install.js" }, "dependencies": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" } } diff --git a/packages/playwright/package.json b/packages/playwright/package.json index d8f0e530f9c1d..719c11228613e 100644 --- a/packages/playwright/package.json +++ b/packages/playwright/package.json @@ -1,6 +1,6 @@ { "name": "playwright", - "version": "1.22.0", + "version": "1.22.1", "description": "A high-level API to automate web browsers", "repository": "github:Microsoft/playwright", "homepage": "https://playwright.dev", @@ -26,6 +26,6 @@ "install": "node install.js" }, "dependencies": { - "playwright-core": "1.22.0" + "playwright-core": "1.22.1" } }