2493 Commits

Author SHA1 Message Date
Max Schmitt
5bcd1fb65f
docs(extensibility): make selectors.register per worker (#26518)
Fixes https://github.com/microsoft/playwright/issues/26493
2023-08-17 09:16:57 -07:00
Vignesh Shanmugam
adc9b2d390
feat: add support for browserContext.on('pageerror') (#24452)
+ fix #24466
+ Adds support for exposing the `pageerror` events via `browserContext`
API.
+ Helps with capturing the overall exceptions that are thrown outside of
the the current page and also captures the exceptions happens on other
windows/popups.
+ Keeps the API in sync with `context.on('request)',
context.on('console'), etc..`
2023-08-17 09:10:03 -07:00
Marcin Strzyz
42543a48a7
fix: fixed PW_TEST_HTML_REPORT_OPEN + more type safe + doc (#24571)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-08-17 09:48:59 +02:00
ggorlen
0149c7d56c
docs: fix typo in Reporter.onEnd (#26486)
Signed-off-by: ggorlen <gsgorlen@gmail.com>
2023-08-17 00:40:14 +02:00
Jean-François Greffier
10eb7e8bc1
docs: Java Gradle installation (#26418)
Docs update to install Playwright as a dependency with Gradle, also
introduce how to run Playwright CLI

```bash
./gradlew playwright --args="help"
```

Fixes [#571](https://github.com/microsoft/playwright-java/issues/571)
2023-08-15 11:19:24 -07:00
Yury Semikhatsky
6e51b95e2c
docs: terminate img tag (#26475) 2023-08-14 15:56:17 -07:00
Yury Semikhatsky
f75295224a
docs(merge): add screenshot, print url, fix name (#26473)
* Renamed test job to `playwright-tests` to match docs and rererences
* Added screenshot with github jobs and artifacts
* Print Azure URL

Fixes: https://github.com/microsoft/playwright/issues/24451
2023-08-14 15:40:13 -07:00
Max Schmitt
373a149a23
docs(test-sharding): fix GitHub workflow snippets (#26465) 2023-08-14 16:09:21 +02:00
Max Schmitt
5d875141c1
docs(release-notes): fix supported OSes table (#26466) 2023-08-14 15:58:46 +02:00
Jonas Claes
d849c7c81d
docs(test-reporters): sorted alphabetically and added Testmo (#26452) 2023-08-14 11:33:44 +02:00
Yury Semikhatsky
c888e299e0
docs: language release notes (#26439)
Signed-off-by: Yury Semikhatsky <yurys@chromium.org>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-08-11 12:36:01 -07:00
Max Schmitt
2fa2d4756a
docs(release-notes): add 1.37 video (#26436) 2023-08-11 20:35:55 +02:00
Dmitry Gozman
b899d61a51
docs: examples that save download with suggested filename (#26425)
Fixes #26341.
2023-08-10 17:20:39 -07:00
Dmitry Gozman
8e93515ab9
docs: add more details about deps execution order (#26424)
Fixes #26367.
2023-08-10 16:33:01 -07:00
Dmitry Gozman
050f26764e
docs: explain how to reset storage state (#26422)
References #26374.
2023-08-10 16:32:45 -07:00
Andrey Lushnikov
f8eb6a8ea7
docs: add release notes for js v1.37 (#26411) 2023-08-10 14:31:36 -07:00
Yury Semikhatsky
fe5cb1603b
docs(merge): use azcopy for uploads (#26382) 2023-08-09 12:05:12 -07:00
Max Schmitt
732ee1502c
docs(python): add note about pytest-playwright on Anaconda (#26372)
Fixes https://github.com/microsoft/playwright-pytest/issues/127
2023-08-09 15:43:02 +02:00
Yury Semikhatsky
44f9b10ff2
docs: clarify --config option (#26356) 2023-08-08 14:47:27 -07:00
Yury Semikhatsky
0f0045be94
docs: shard numbers in yaml (#26336) 2023-08-08 11:09:43 -07:00
Max Schmitt
1383844af8
docs: make --grep more clear (#26324)
Fixes https://github.com/microsoft/playwright/issues/24604
2023-08-07 17:40:30 +02:00
Dmitry Gozman
1d4919cea4
docs: encourage using fill instead of type (#24616)
References #24614.
2023-08-04 14:19:57 -07:00
Pavel Feldman
8fde110c61
chore: allow web server w/o waiting (#24609) 2023-08-04 12:05:16 -07:00
Max Schmitt
1afa9d44fb
docs(debug): remove incorrect console APIs (#24602)
This got accidentally added in
54f7141877.

Fixes https://github.com/microsoft/playwright/issues/24562
2023-08-04 17:35:59 +02:00
Max Schmitt
ec6d692e2e
docs: change :::tip to :::note (#24610)
Fixes https://github.com/microsoft/playwright/issues/24551
2023-08-04 17:35:51 +02:00
Yury Semikhatsky
8b18722181
chore: drop run_attempt from github artifact name (#24594) 2023-08-03 15:34:23 -07:00
Andrey Lushnikov
be1e8e061e
docs: minor changes to the merge-reports documentation (#24585) 2023-08-03 10:17:01 -07:00
Max Schmitt
b0473b71cd
chore: limit docs snippet length to 100 (#24563) 2023-08-02 11:23:47 +02:00
Dmitry Gozman
29e63d1deb
docs: update sharding doc (#24558) 2023-08-01 16:03:36 -07:00
Debbie O'Brien
f6d63f7c99
docs: update example test assertion (#24554)
uses different assertion to make test visually better when using trace
viewer etc and is more realistic example
2023-08-01 22:04:04 +02:00
Yury Semikhatsky
ce341ae5b5
docs: clarify setContent semantics (#24553)
Fixes https://github.com/microsoft/playwright/issues/24503
2023-08-01 11:45:58 -07:00
Dmitry Gozman
578e8e01b7
docs: improve auto-retrying vs generic assertions (#24528)
Fixes #24460.
2023-07-31 20:20:27 -07:00
Yury Semikhatsky
786cb4019d
docs: sharding and merging reports (#24338) 2023-07-31 11:50:57 -07:00
Dmitry Gozman
a74101d98f
docs: document expect's asymmetric matchers (#24498)
References #24460, #24417.
2023-07-28 14:04:01 -07:00
Michael Seele
c7beebb40f
fix api-testing example (#24407) 2023-07-28 13:19:01 -07:00
John Yeates
e60d995e9b
docs: Add files to list of ways to include global.d.ts (#24484) 2023-07-28 12:53:05 -07:00
Dmitry Gozman
ea6d127f28
feat(connect): exposeNetwork option (#24436) 2023-07-26 17:29:31 -07:00
Dmitry Gozman
c8b45aa844
chore: validate markdown links in doclint (#24444)
Fixes #24421.
2023-07-26 16:15:07 -07:00
Lev Chelyadinov
64deac85d2
docs(intro): update the pnpm installation method (#24397)
Signed-off-by: Lev Chelyadinov <leva181777@gmail.com>
2023-07-26 15:58:13 +02:00
Pavel Feldman
d81b35b836
chore: fix docs typo (#24388) 2023-07-25 12:55:06 -07:00
Max Schmitt
95fc194e71
docs(annotations): grep snippets follow-ups #24304 (#24367)
Follow-ups to #24304.

Wasn't rendered otherwise:
https://playwright.dev/docs/next/test-annotations
2023-07-24 20:10:39 +02:00
Max Schmitt
b1ab6484da
docs(test-runner): add new playwright-features (#24368)
https://github.com/microsoft/playwright-pytest/pull/148
https://github.com/microsoft/playwright-pytest/pull/146
2023-07-24 20:09:09 +02:00
Alex Ravenna
b93b2a7155
docs: fix minor grammar and text issues (#24331) 2023-07-24 14:59:15 +02:00
jaktestowac.pl
f453a17ede
docs(test-annotations): add grep scripts examples for windows shells (#24304)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-07-22 00:30:40 +02:00
Max Schmitt
c7a5de6bb8
docs(ci): fix .NET AzDo snippet (#24333)
Fixes https://github.com/microsoft/playwright-dotnet/issues/2645

Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-07-20 18:54:51 +02:00
John Harrington
bca32f389b
docs(test-ui-mode): fix "it's" to possessive "its" (#24143) 2023-07-18 19:41:04 +02:00
Andrey Lushnikov
0b2516d71a
docs: explicitly set CI=true in Azure DevOps pipeline (#24278)
Fixes https://github.com/microsoft/playwright/issues/24274

---------

Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-07-18 09:39:14 -07:00
Yury Semikhatsky
896390d952
docs: merge report guide (#24246) 2023-07-17 10:18:05 -07:00
Raphi
2d9cdb6ab4
docs(java): add support for Chrome DevTools Protocol (#24150)
Implemented in https://github.com/microsoft/playwright-java/pull/1329
2023-07-17 10:12:04 -07:00
Dmitry Gozman
41643d070f
docs: add a warning to selenium-grid.md (#24236) 2023-07-14 12:44:22 -07:00