1948 Commits

Author SHA1 Message Date
Yury Semikhatsky
3ea03c9f4c
docs: use encodeToString instead of encode in examples (#27297)
Fixes https://github.com/microsoft/playwright/issues/27273
2023-09-25 14:57:58 -07:00
Dmitry Gozman
7bd8032439
docs: mention Locator.first in toBeVisible (#27292)
Fixes #26842.
2023-09-25 10:59:39 -07:00
Pavel Feldman
d6ec1ae399
chore: document chaining expect.extend (#27262)
Fixes https://github.com/microsoft/playwright/issues/15951
2023-09-22 13:56:59 -07:00
Matt Hooper
e786eddf5a
chore: Update README grammar (#27159) 2023-09-22 10:47:48 -07:00
Debbie O'Brien
175ae09fef
docs: improve trace viewer (#27205) 2023-09-22 16:57:02 +02:00
Debbie O'Brien
4b8e528136
docs: update screenshots (#27207)
- add new screenshots
2023-09-21 10:30:19 -07:00
Andrey Lushnikov
abde650398
docs: clarify Locator.or element matching (#27208)
Fixes https://github.com/microsoft/playwright/issues/27169

---------

Signed-off-by: Andrey Lushnikov <aslushnikov@gmail.com>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2023-09-20 13:14:19 -07:00
Debbie O'Brien
9f3c73b425
docs: ui mode minor docs fixes (#27206) 2023-09-20 19:19:01 +02:00
Debbie O'Brien
36f481b779
docs: small fix in headings (#27209) 2023-09-20 19:16:19 +02:00
Yury Semikhatsky
7f1d93dd3f
docs: 1.38 release notes for language ports (#27167) 2023-09-18 17:38:35 -07:00
Debbie O'Brien
40e8445b82
docs: update order to improve flo (#27077) 2023-09-18 20:10:18 +02:00
Debbie O'Brien
c119bd5bd8
docs: update screenshots test generator (#27116) 2023-09-15 13:01:57 -07:00
Debbie O'Brien
b9dda64dfe
docs: improve sidebar titles (#27078) 2023-09-15 13:01:08 -07:00
Debbie O'Brien
993f952d6a
docs: add screenshot for attachments (#27076) 2023-09-15 12:58:25 -07:00
Pavel Feldman
c6510ac000
chore: align select options docs (#27097)
Fixes: https://github.com/microsoft/playwright/issues/27094
2023-09-14 16:41:36 -07:00
Dmitry Gozman
603861c48d
fix: revert toMatchSnapshot deprecation (#27089)
- This reverts commit
8348f66107
landed in #26718.
- Update docs to point towards `toHaveScreenshot`.
2023-09-14 12:52:41 -07:00
Brian Donovan
70fa1dd78a
docs: fix typo (#27062) 2023-09-14 12:45:36 +02:00
Andrey Lushnikov
d84357cedc
docs: fix line wrapping in release notes (#27067) 2023-09-13 15:55:31 -07:00
Andrey Lushnikov
e367b5a0c0
docs: add release notes for 1.38 (#27028)
Signed-off-by: Andrey Lushnikov <aslushnikov@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-09-13 11:37:45 -07:00
Max Schmitt
5faa66912c
docs: add types to Python run() defs (#27044)
Fixes https://github.com/microsoft/playwright-python/issues/2071
2023-09-13 15:18:15 +02:00
Pavel Feldman
02c72e545b
feat(onEnd): allow overriding the exit code (#27010)
Fixes: https://github.com/microsoft/playwright/issues/26858
2023-09-12 13:37:30 -07:00
Debbie O'Brien
78309b9900
docs: update ui mode (#26964) 2023-09-12 18:28:11 +02:00
Debbie O'Brien
8bd26fe074
docs: running tests improvements (#26956) 2023-09-12 16:51:19 +02:00
Pavel Feldman
91478ea316
chore: document new onEnd params (#27006) 2023-09-11 18:17:49 -07:00
Debbie O'Brien
4d488b464a
docs: update intro for js (#26959) 2023-09-11 18:54:34 +02:00
Dmitry Gozman
186f86905c
chore: make @playwright/test depend on playwright (#26946) 2023-09-08 14:23:35 -07:00
Debbie O'Brien
829609dac0
docs: writing tests python merge with node (#26926) 2023-09-08 17:13:00 +02:00
Debbie O'Brien
9b99aea57f
docs: python running tests guide (#26910) 2023-09-07 15:47:40 +02:00
Yury Semikhatsky
34af2b9477
Revert "docs(java): Add SoftAssertions for Java (#26512)" (#26917)
As explained in
https://github.com/microsoft/playwright-java/issues/819#issuecomment-1709019419
we are not ready to ship this in its current form. Reverting for now.

This reverts commit 475c96d4c27fd70791b5851e07d11d079d01c545.
2023-09-06 15:28:54 -07:00
Max Schmitt
0527006a54
docs(test-typescript): rename transpilation issues doc (#26893) 2023-09-06 22:57:12 +02:00
Dmitry Gozman
abea8f4d1c
docs: update deprecation messages for type() methods (#26912) 2023-09-06 12:41:12 -07:00
Dmitry Gozman
361038c950
feat: rename PageError to WebError (#26913) 2023-09-06 12:40:53 -07:00
Pavel Feldman
e065a927bb
docs: fix string eval snippet
Signed-off-by: Pavel Feldman <pavel.feldman@gmail.com>
2023-09-05 16:34:56 -07:00
Timothy C. Quinn
2f4d1714b8
docs: fixing JS Comments for Evaluate (#26880) 2023-09-05 22:53:16 +02:00
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