Skip to content

Commit 1705b06

Browse files
feat(roll): roll to ToT Playwright (19-11-24) (microsoft#1597)
1 parent bf804e9 commit 1705b06

File tree

6 files changed

+21
-21
lines changed

6 files changed

+21
-21
lines changed

dotnet/docs/api/class-locatorassertions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ await Expect(locator).ToHaveAccessibleNameAsync("Save to disk");
411411
```
412412

413413
**Arguments**
414-
- `name` [string] | [Regex]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-assertions-to-have-accessible-name-option-name"/><a href="#locator-assertions-to-have-accessible-name-option-name" class="list-anchor">#</a>
414+
- `name` [string] | [Regex] | [IEnumerable]&lt;[string] | [Regex]&gt;<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-assertions-to-have-accessible-name-option-name"/><a href="#locator-assertions-to-have-accessible-name-option-name" class="list-anchor">#</a>
415415

416416
Expected accessible name.
417417
- `options` `LocatorAssertionsToHaveAccessibleNameOptions?` *(optional)*

java/docs/api/class-locatorassertions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ assertThat(locator).hasAccessibleName("Save to disk");
141141
```
142142

143143
**Arguments**
144-
- `name` [String] | [Pattern]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-assertions-to-have-accessible-name-option-name"/><a href="#locator-assertions-to-have-accessible-name-option-name" class="list-anchor">#</a>
144+
- `name` [String] | [Pattern] | [List]&lt;[String] | [Pattern]&gt;<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-assertions-to-have-accessible-name-option-name"/><a href="#locator-assertions-to-have-accessible-name-option-name" class="list-anchor">#</a>
145145

146146
Expected accessible name.
147147
- `options` `LocatorAssertions.HasAccessibleNameOptions` *(optional)*

nodejs/docs/api/class-locatorassertions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ await expect(locator).toHaveAccessibleName('Save to disk');
402402
```
403403

404404
**Arguments**
405-
- `name` [string] | [RegExp]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-assertions-to-have-accessible-name-option-name"/><a href="#locator-assertions-to-have-accessible-name-option-name" class="list-anchor">#</a>
405+
- `name` [string] | [RegExp] | [Array]&lt;[string] | [RegExp]&gt;<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-assertions-to-have-accessible-name-option-name"/><a href="#locator-assertions-to-have-accessible-name-option-name" class="list-anchor">#</a>
406406

407407
Expected accessible name.
408408
- `options` [Object] *(optional)*

nodejs/docs/ci.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
name: 'Playwright Tests'
102102
runs-on: ubuntu-latest
103103
container:
104-
image: mcr.microsoft.com/playwright:v1.48.2-noble
104+
image: mcr.microsoft.com/playwright:v1.49.0-noble
105105
options: --user 1001
106106
steps:
107107
- uses: actions/checkout@v4
@@ -340,7 +340,7 @@ trigger:
340340
341341
pool:
342342
vmImage: ubuntu-latest
343-
container: mcr.microsoft.com/playwright:v1.48.2-noble
343+
container: mcr.microsoft.com/playwright:v1.49.0-noble
344344
345345
steps:
346346
- task: NodeTool@0
@@ -364,7 +364,7 @@ Running Playwright on CircleCI is very similar to running on GitHub Actions. In
364364
executors:
365365
pw-noble-development:
366366
docker:
367-
- image: mcr.microsoft.com/playwright:v1.48.2-noble
367+
- image: mcr.microsoft.com/playwright:v1.49.0-noble
368368
```
369369

370370
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.
@@ -387,7 +387,7 @@ Jenkins supports Docker agents for pipelines. Use the [Playwright Docker image](
387387

388388
```groovy
389389
pipeline {
390-
agent { docker { image 'mcr.microsoft.com/playwright:v1.48.2-noble' } }
390+
agent { docker { image 'mcr.microsoft.com/playwright:v1.49.0-noble' } }
391391
stages {
392392
stage('e2e-tests') {
393393
steps {
@@ -404,7 +404,7 @@ pipeline {
404404
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)).
405405

406406
```yml
407-
image: mcr.microsoft.com/playwright:v1.48.2-noble
407+
image: mcr.microsoft.com/playwright:v1.49.0-noble
408408
```
409409

410410
### GitLab CI
@@ -417,7 +417,7 @@ stages:
417417
418418
tests:
419419
stage: test
420-
image: mcr.microsoft.com/playwright:v1.48.2-noble
420+
image: mcr.microsoft.com/playwright:v1.49.0-noble
421421
script:
422422
...
423423
```
@@ -432,7 +432,7 @@ stages:
432432
433433
tests:
434434
stage: test
435-
image: mcr.microsoft.com/playwright:v1.48.2-noble
435+
image: mcr.microsoft.com/playwright:v1.49.0-noble
436436
parallel: 7
437437
script:
438438
- npm ci
@@ -447,7 +447,7 @@ stages:
447447
448448
tests:
449449
stage: test
450-
image: mcr.microsoft.com/playwright:v1.48.2-noble
450+
image: mcr.microsoft.com/playwright:v1.49.0-noble
451451
parallel:
452452
matrix:
453453
- PROJECT: ['chromium', 'webkit']
@@ -463,7 +463,7 @@ To run Playwright tests on Google Cloud Build, use our public Docker image ([see
463463

464464
```yml
465465
steps:
466-
- name: mcr.microsoft.com/playwright:v1.48.2-noble
466+
- name: mcr.microsoft.com/playwright:v1.49.0-noble
467467
script:
468468
...
469469
env:
@@ -481,7 +481,7 @@ type: docker
481481
482482
steps:
483483
- name: test
484-
image: mcr.microsoft.com/playwright:v1.48.2-noble
484+
image: mcr.microsoft.com/playwright:v1.49.0-noble
485485
commands:
486486
- npx playwright test
487487
```

nodejs/docs/docker.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ This Docker image is intended to be used for testing and development purposes on
2222
### Pull the image
2323

2424
```bash
25-
docker pull mcr.microsoft.com/playwright:v1.48.2-noble
25+
docker pull mcr.microsoft.com/playwright:v1.49.0-noble
2626
```
2727

2828
### Run the image
@@ -34,15 +34,15 @@ By default, the Docker image will use the `root` user to run the browsers. This
3434
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.
3535

3636
```bash
37-
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.48.2-noble /bin/bash
37+
docker run -it --rm --ipc=host mcr.microsoft.com/playwright:v1.49.0-noble /bin/bash
3838
```
3939

4040
#### Crawling and scraping
4141

4242
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.
4343

4444
```bash
45-
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.48.2-noble /bin/bash
45+
docker run -it --rm --ipc=host --user pwuser --security-opt seccomp=seccomp_profile.json mcr.microsoft.com/playwright:v1.49.0-noble /bin/bash
4646
```
4747

4848
[`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:
@@ -75,9 +75,9 @@ See our [Continuous Integration guides](./ci.mdx) for sample configs.
7575
See [all available image tags].
7676

7777
We currently publish images with the following tags:
78-
- `:v1.48.2` - Playwright v1.48.2 release docker image based on Ubuntu 24.04 LTS (Noble Numbat).
79-
- `:v1.48.2-noble` - Playwright v1.48.2 release docker image based on Ubuntu 24.04 LTS (Noble Numbat).
80-
- `:v1.48.2-jammy` - Playwright v1.48.2 release docker image based on Ubuntu 22.04 LTS (Jammy Jellyfish).
78+
- `:v1.49.0` - Playwright v1.49.0 release docker image based on Ubuntu 24.04 LTS (Noble Numbat).
79+
- `:v1.49.0-noble` - Playwright v1.49.0 release docker image based on Ubuntu 24.04 LTS (Noble Numbat).
80+
- `:v1.49.0-jammy` - Playwright v1.49.0 release docker image based on Ubuntu 22.04 LTS (Jammy Jellyfish).
8181

8282
:::note
8383

@@ -101,7 +101,7 @@ To run Playwright inside Docker, you need to have Node.js, [Playwright browsers]
101101
```Dockerfile
102102
FROM node:20-bookworm
103103

104-
RUN npx -y playwright@1.48.2 install --with-deps
104+
RUN npx -y playwright@1.49.0 install --with-deps
105105
```
106106

107107

python/docs/api/class-locatorassertions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1377,7 +1377,7 @@ await expect(locator).to_have_accessible_name("Save to disk")
13771377
</Tabs>
13781378

13791379
**Arguments**
1380-
- `name` [str] | [Pattern]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-assertions-to-have-accessible-name-option-name"/><a href="#locator-assertions-to-have-accessible-name-option-name" class="list-anchor">#</a>
1380+
- `name` [str] | [Pattern] | [List]\[[str] | [Pattern]\]<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-assertions-to-have-accessible-name-option-name"/><a href="#locator-assertions-to-have-accessible-name-option-name" class="list-anchor">#</a>
13811381

13821382
Expected accessible name.
13831383
- `ignore_case` [bool] *(optional)*<a aria-hidden="true" tabIndex="-1" class="list-anchor-link" id="locator-assertions-to-have-accessible-name-option-ignore-case"/><a href="#locator-assertions-to-have-accessible-name-option-ignore-case" class="list-anchor">#</a>

0 commit comments

Comments
 (0)