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
Stops video recording started with [Video.StartAsync()](/api/class-video.mdx#video-start) and either saves or discards the video file.
121
+
Stops video recording started with [Video.StartAsync()](/api/class-video.mdx#video-start). Use [Video.PathAsync()](/api/class-video.mdx#video-path)or [Video.SaveAsAsync()](/api/class-video.mdx#video-save-as) methods to access the video file.
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.
@@ -193,7 +193,7 @@ Jenkins supports Docker agents for pipelines. Use the [Playwright Docker image](
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.mdx)).
@@ -34,15 +34,15 @@ By default, the Docker image will use the `root` user to run the browsers. This
34
34
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.
35
35
36
36
```bash
37
-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.57.0-noble /bin/bash
37
+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright/dotnet:v1.58.0-noble /bin/bash
38
38
```
39
39
40
40
#### Crawling and scraping
41
41
42
42
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:
@@ -82,7 +82,7 @@ You can run Playwright Server in Docker while keeping your tests running on the
Stops video recording started with [Video.start()](/api/class-video.mdx#video-start) and either saves or discards the video file.
121
+
Stops video recording started with [Video.start()](/api/class-video.mdx#video-start). Use [Video.path()](/api/class-video.mdx#video-path)or [Video.saveAs()](/api/class-video.mdx#video-save-as) methods to access the video file.
Stops video recording started with [video.start()](/api/class-video.mdx#video-start) and either saves or discards the video file.
121
+
Stops video recording started with [video.start()](/api/class-video.mdx#video-start). Use [video.path()](/api/class-video.mdx#video-path)or [video.saveAs()](/api/class-video.mdx#video-save-as) methods to access the video file.
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.
@@ -382,7 +382,7 @@ Jenkins supports Docker agents for pipelines. Use the [Playwright Docker image](
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.mdx)).
400
400
401
401
```yml
402
-
image: mcr.microsoft.com/playwright:v1.58.0-noble
402
+
image: mcr.microsoft.com/playwright:v1.58.1-noble
403
403
```
404
404
405
405
### GitLab CI
@@ -412,7 +412,7 @@ stages:
412
412
413
413
tests:
414
414
stage: test
415
-
image: mcr.microsoft.com/playwright:v1.58.0-noble
415
+
image: mcr.microsoft.com/playwright:v1.58.1-noble
416
416
script:
417
417
...
418
418
```
@@ -427,7 +427,7 @@ stages:
427
427
428
428
tests:
429
429
stage: test
430
-
image: mcr.microsoft.com/playwright:v1.58.0-noble
430
+
image: mcr.microsoft.com/playwright:v1.58.1-noble
431
431
parallel: 7
432
432
script:
433
433
- npm ci
@@ -442,7 +442,7 @@ stages:
442
442
443
443
tests:
444
444
stage: test
445
-
image: mcr.microsoft.com/playwright:v1.58.0-noble
445
+
image: mcr.microsoft.com/playwright:v1.58.1-noble
446
446
parallel:
447
447
matrix:
448
448
- PROJECT: ['chromium', 'webkit']
@@ -458,7 +458,7 @@ To run Playwright tests on Google Cloud Build, use our public Docker image ([see
@@ -34,15 +34,15 @@ By default, the Docker image will use the `root` user to run the browsers. This
34
34
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.
35
35
36
36
```bash
37
-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.58.0-noble /bin/bash
37
+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.58.1-noble /bin/bash
38
38
```
39
39
40
40
#### Crawling and scraping
41
41
42
42
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:
@@ -82,7 +82,7 @@ You can run Playwright Server in Docker while keeping your tests running on the
0 commit comments