You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: When using the docker agent definition, you are specifying the resource class of where playwright runs to the 'medium' tier [here](https://circleci.com/docs/configuration-reference?#docker-execution-environment). The default behavior of Playwright is to set the number of workers to the detected core count (2 in the case of the medium tier). Overriding the number of workers to greater than this number will cause unnecessary timeouts and failures.
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)).
@@ -42,39 +42,39 @@ By default, the Docker image will use the `root` user to run the browsers. This
42
42
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.
43
43
44
44
```bash js
45
-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.34.1-jammy /bin/bash
45
+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.34.2-jammy /bin/bash
46
46
```
47
47
48
48
```bash python
49
-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/python:v1.34.1-jammy /bin/bash
49
+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/python:v1.34.2-jammy /bin/bash
50
50
```
51
51
52
52
```bash csharp
53
-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.34.1-jammy /bin/bash
53
+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.34.2-jammy /bin/bash
54
54
```
55
55
56
56
```bash java
57
-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.34.1-jammy /bin/bash
57
+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/java:v1.34.2-jammy /bin/bash
58
58
```
59
59
60
60
#### Crawling and scraping
61
61
62
62
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.
[`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:
0 commit comments