Pavel Feldman
1fda6d1536
docs: remove --headless=chrome mentions ( #26865 )
...
Fixes https://github.com/microsoft/playwright/issues/26862
2023-09-05 08:42:54 -07:00
Andrey Lushnikov
afd4363aab
docs: enhance hooks example to illustrate after hooks behavior ( #26846 )
...
Fixes https://github.com/microsoft/playwright/issues/26821
2023-09-01 17:18:31 -07:00
Debbie O'Brien
583964f8dd
docs: move github section ( #26792 )
2023-09-01 14:42:47 +02:00
Dawn Wages
0bada4b31b
docs: python installation code block update ( #26818 )
2023-08-31 17:42:32 +02:00
Debbie O'Brien
d98e3a2bed
docs: move publish report to ci intro ( #26791 )
...
- move publish report section from sharding doc to github actions doc in
getting started guide
2023-08-30 11:03:00 -07:00
Pavel Feldman
34c6197f9e
chore: include start/endTime and duration in onEnd report callback ( #26760 )
...
Fixes https://github.com/microsoft/playwright/issues/23637
2023-08-29 10:56:21 -07:00
Dmitry Gozman
36347e7fea
feat: make playwright
package not install browsers automatically ( #26672 )
...
Additionally introduce `@playwright/browser-<browser>` packages that
just download the respective browser, but do not export anything.
References #26614 .
2023-08-27 07:24:35 -07:00
Dmitry Gozman
8348f66107
feat: deprecate toMatchSnapshot for buffers ( #26718 )
...
These are usually used for screenshots instead of toHaveScreenshot.
String-based snapshots are left as is.
<img width="836" alt="deprecated"
src="https://github.com/microsoft/playwright/assets/9881434/d02818da-7eea-47fc-8ea8-4104b0dd49b5 ">
---
Also deemphasized toMatchSnapshot throughout all docs.
Fixes #26612 .
2023-08-25 18:20:01 -07:00
Steven Boutcher
4bf5b091d5
Fix run-on sentence in Best Practices docs ( #26622 )
2023-08-25 12:50:35 -07:00
Pavel Feldman
afb17b02a7
docs: remove outdated ct limitations ( #26707 )
2023-08-25 12:09:38 -07:00
Yury Semikhatsky
697429d222
docs: pageerror.error should return string in languages ( #26664 )
2023-08-23 14:31:18 -07:00
Jack Li
cfa8206a93
docs(chrome-extensions): remove conflict import ( #26631 )
2023-08-23 10:37:20 +02:00
Dmitry Gozman
c4e79eb6ed
feat: replace Locator.type with Locator.pressSequentially ( #26624 )
...
Also deprecate `Locator.type`, `Frame.type`, `Page.type` and
`ElementHandle.type`, but not `Keyboard.type`.
References #24614 .
2023-08-22 15:21:00 -07:00
Dmitry Gozman
5646875e5c
fix: make Request.frame throw when page is not ready yet ( #26616 )
...
Suggest to check `request.isNavigationRequest()` beforehand.
Fixes #24603 .
2023-08-22 14:06:21 -07:00
Dmitry Gozman
bb808ca964
docs: move PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD section to library-js ( #26617 )
...
Fixes #24607 .
2023-08-22 13:22:38 -07:00
Tahanima Chowdhury
cd07401d20
docs(test-runners-java.md): added testng implementation ( #26537 )
...
Resolves microsoft/playwright-java#1343
2023-08-22 08:57:12 -07:00
Max Schmitt
18e03da445
docs: use absolute paths for file uploads ( #26611 )
...
Fixes https://github.com/microsoft/playwright/issues/26536
This makes it a bit harder for MJS customers, but I guess they know that
they can do
const dirname = path.dirname(url.fileURLToPath(import.meta.url));
2023-08-22 17:38:23 +02:00
Rainer Hahnekamp
1515d4efdc
docs(sharding): fix GitHub Actions example ( #26586 )
2023-08-21 23:13:36 +02:00
Richard Blažo
bcc30bc71e
feat: add title for before and after hooks ( #26523 )
2023-08-21 09:50:22 -07:00
Kevin Centeno
ba4c242a82
docs(assertions): remove unneeded await in generic assertions example ( #26569 )
2023-08-21 18:13:25 +02:00
Grant Timmerman
d6956b88f8
docs: fix duplicate java release note metadata ( #26561 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-08-19 23:32:54 +02:00
Yury Semikhatsky
4f9bf63259
docs: blob reporter options ( #26508 )
...
Fixes #26481
2023-08-18 10:50:59 -07:00
uchagani
e15db7993a
docs(java): Remove hardcoded params from SoftAssertions alias ( #26531 )
2023-08-17 17:55:33 -07:00
uchagani
475c96d4c2
docs(java): Add SoftAssertions for Java ( #26512 )
...
This PR adds the `SoftAssertions` API for Java. Related PR:
https://github.com/microsoft/playwright-java/pull/1340
Note: https://github.com/microsoft/playwright.dev/pull/1135 needs to be
merged in order for the markdown in this PR to be rendered without
errors
2023-08-17 10:08:18 -07:00
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