Max Schmitt
6a15d43539
docs: rename example env var ( #29061 )
2024-01-19 17:43:37 +01:00
romanimm
a217d6a08d
docs: fix typo for stylePath ( #29034 )
2024-01-18 09:59:31 +01:00
inottn
0fa85143a0
docs: add missing imports ( #29014 )
2024-01-17 08:11:55 +01:00
Max Schmitt
7e6072583b
docs(docker): various enhancements ( #28994 )
...
Fixes https://github.com/microsoft/playwright-python/issues/2241
2024-01-16 19:27:17 +01:00
jonghoonpark
4c0a972b69
feat(expect): Make toPass's option configurable by TestConfig ( #28231 )
...
Co-authored-by: jonghoon.park <jonghoon.park@lucentblock.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-01-16 12:28:38 +01:00
Max Schmitt
01af7e5d8e
docs(release-notes): add v1.41 release notes ( #28697 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-01-13 00:11:42 +01:00
Yury Semikhatsky
d4329bb6f2
docs: add example of data isolation between parallel tests ( #28958 )
2024-01-12 12:47:40 -08:00
Dmitry Gozman
37634df0c4
docs: note that opacity:0 still counts as visible element ( #28965 )
...
Closes #28954 .
2024-01-12 09:38:23 -08:00
Dmitry Gozman
90665ef056
docs: update auto-waiting doc ( #28960 )
...
- Replace action names with links to `Locator.click`.
- Remove "Attached" check in favor of "locator resolves to a single
element".
- Replace getter methods in assertion section with auto-retriying
assertions.
- Add missing actions.
---
<img width="837" alt="Screenshot 2024-01-11 at 1 02 34 PM"
src="https://github.com/microsoft/playwright/assets/9881434/1946678d-6a7e-45cf-a299-2f18cb3fb5a5 ">
2024-01-12 09:33:42 -08:00
Yury Semikhatsky
b392c2d392
docs: add proxy example to the API testing guide ( #28959 )
...
Fixes https://github.com/microsoft/playwright/issues/28940
2024-01-11 13:39:35 -08:00
Max Schmitt
c5097a500d
docs: add java/csharp code snippets for FormData ( #28951 )
...
Fixes https://github.com/microsoft/playwright/issues/28811
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-01-11 18:36:05 +01:00
Viicos
88d7ff97a1
docs(python): fix example in mock docs ( #28894 )
2024-01-08 15:14:56 +01:00
geke-scottlogic
6bd61cd8c6
docs: Improve clarity on toHaveText and toContainText assertions ( #28623 )
...
This closes https://github.com/microsoft/playwright/issues/28058 .
2024-01-05 09:20:50 -08:00
Yury Semikhatsky
fad703d4ee
docs: update merge example to upload-artifact@v4 ( #28849 )
...
Artifacts in upload-artifact@v4 are
[immutable](https://github.com/actions/upload-artifact/tree/main?tab=readme-ov-file#breaking-changes ),
so we cannot simply copy reports into single artifact.
Fixes https://github.com/microsoft/playwright/issues/28800
2024-01-04 16:03:22 -08:00
Max Schmitt
32f595d1c9
docs(browsers): fix comment about stable Firefox ( #28862 )
2024-01-04 09:30:42 -08:00
Xuan
d8733d9229
docs: remove the create method from extensibility ( #28823 )
...
I saw the `create` method in the
[Extensibility](https://playwright.dev/docs/extensibility ) section of
the document but didn't quite understand its actual purpose. Therefore,
I attempted to add this method in the test examples, but it seems that
regardless of what this method returns or if it throws an error, it has
no effect. Upon further examination of the
[selectors.ts](https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/client/selectors.ts )
and
[types.ts](https://github.com/microsoft/playwright/blob/main/packages/playwright-core/src/client/types.ts#L129 )
files, I noticed that this method is not defined. Consequently, I opened
this pull request to remove the description of this method to prevent
any potential misunderstandings by others.
If there are any misunderstandings, feel free to close this pull
request. Thank you.
2024-01-03 09:39:57 -08:00
Nick Wittland
7bffff5790
docs: configuration of junit reporter in ci.md ( #28817 )
2023-12-31 13:43:10 -08:00
Yury Semikhatsky
207585ef63
docs: clarify tracing name parameter semantics ( #28759 )
...
Fixes https://github.com/microsoft/playwright/issues/28751
2023-12-21 15:24:54 -08:00
Yury Semikhatsky
db703a98ea
docs: no floating promises in route handlers ( #28745 )
...
Fixes https://github.com/microsoft/playwright/issues/28737
2023-12-21 09:57:35 -08:00
Yury Semikhatsky
f7e298fec3
docs: clarify toPass timeout behavior ( #28747 )
...
Fixes https://github.com/microsoft/playwright/issues/28744
2023-12-20 15:39:53 -08:00
Yury Semikhatsky
87ca45366b
docs: quote to avoid variable expansion in powershell ( #28728 )
...
Fixes https://github.com/microsoft/playwright/issues/28724
2023-12-20 09:56:37 -08:00
Max Schmitt
e2c335a40c
docs(intro): update requirements to new macOS version ( #28683 )
2023-12-18 18:38:51 +01:00
Yury Semikhatsky
86ef7393ba
docs: remove unrouteAll.behavior option from java ( #28675 )
...
This option does not make sense in the synchronous API where all active
routes would be on the same call stack any way.
Reference https://github.com/microsoft/playwright/issues/23781
2023-12-15 12:09:26 -08:00
Max Schmitt
665bce64ae
docs(dotnet): add a note on how to install a custom .NET version in Docker ( #28672 )
...
Fixes https://github.com/microsoft/playwright-dotnet/issues/2698
Relates https://github.com/microsoft/playwright/issues/28667
2023-12-15 10:40:50 -08:00
Max Schmitt
dfd8f25e6c
docs(csharp): refer to net8.0 (new LTS) ( #28664 )
2023-12-15 10:32:51 -08:00
Yury Semikhatsky
9c845365f7
chore: revert TestProject.botName for this release ( #28670 )
...
This is essentially a revert of f88288d71d
Reference https://github.com/microsoft/playwright/issues/27284
2023-12-15 09:48:34 -08:00
Yury Semikhatsky
d89837c58e
chore: revert noWaitForFinish option, page.close does not wait for ro… ( #28658 )
...
…ute handlers
Reference https://github.com/microsoft/playwright/issues/23781
2023-12-15 09:00:12 -08:00
Max Schmitt
256b287649
docs: note that custom args are on your own risk ( #28656 )
...
https://github.com/microsoft/playwright/issues/28537
2023-12-14 14:37:31 -08:00
Yury Semikhatsky
f28ceffa37
feat: page.unrouteAll and context.unrouteAll ( #28635 )
...
Reference https://github.com/microsoft/playwright/issues/23781
2023-12-14 13:48:17 -08:00
Pavel Feldman
d242ff67ef
chore: follow up to the stylePath review ( #28636 )
2023-12-14 08:19:24 -08:00
Max Schmitt
ff3b70b625
docs(docs): add docs about integrating Trace into NUnit/MSTest ( #28639 )
2023-12-13 21:03:29 -08:00
Max Schmitt
e8c8852c00
chore: discourage methods on ElementHandle ( #28637 )
...
Mirrors the deprecations from page.* over to ElementHandle.
2023-12-13 20:06:01 -08:00
Dmitry Gozman
ac3600ec96
feat: explain that argument is a regex ( #28590 )
...
- in docs;
- in the error message.
Terminal output:
```
$ npx playwright test foobar
Error: No tests found.
Make sure that arguments are regular expressions matching test files.
You may need to escape symbols like "$" or "*" and quote the arguments.
```
References #28551 .
2023-12-11 17:35:39 -08:00
Dmitry Gozman
ee9a7dad12
docs: emphasize that has is a relative locator ( #28588 )
...
References #28556 .
2023-12-11 17:35:29 -08:00
Yury Semikhatsky
411abdb752
feat: add fileName option to blob reporter ( #28525 )
...
Reference https://github.com/microsoft/playwright/issues/27284
2023-12-06 20:44:06 -08:00
Yury Semikhatsky
f88288d71d
feat: config.botName for describing environment in the reports ( #28507 )
...
Reference https://github.com/microsoft/playwright/issues/27284
2023-12-06 13:34:16 -08:00
jaktestowac.pl
297f2af16b
docs: add info about merging fixtures to fixtures page ( #28468 )
2023-12-05 17:02:55 -08:00
Christopher Dunderdale
c8bc79655f
docs: fix various syntax errors in .NET documentation ( #28472 )
2023-12-05 09:19:12 -08:00
Yury Semikhatsky
74e51d334e
feat: wait for active route handlers on page/context close ( #28414 )
...
Reference https://github.com/microsoft/playwright/issues/23781
2023-12-04 16:19:05 -08:00
Dmitry Gozman
b4de3133cc
docs: add exposeNetwork option documentation to connectOptions fixture ( #28483 )
2023-12-04 09:38:17 -08:00
Laurent Thiebault
ac846c1632
docs: fix some typo ( #28450 )
2023-12-02 15:35:51 -08:00
Pavel Feldman
0a7a10d0f6
feat(vrt): allow providing screenshot style ( #28229 )
2023-11-30 17:42:45 -08:00
Max Schmitt
da6a36062e
docs(docker): add note on how to create your own ( #28434 )
...
https://github.com/microsoft/playwright/issues/28383
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2023-11-30 14:04:42 -08:00
Dmitry Gozman
35c2633013
docs: state that grid support is experimental ( #28406 )
2023-11-29 12:16:10 -08:00
Yury Semikhatsky
cea28b2df9
docs: clarify beforeAll execution on exception ( #28361 )
...
Reference https://github.com/microsoft/playwright/issues/28285
2023-11-27 16:37:30 -08:00
Yury Semikhatsky
854ae4eede
docs: remove duplicate entry for --config ( #28357 )
2023-11-27 11:38:52 -08:00
Yair Cohen
54c9c7ff9c
docs(test-sharding) fix typo ( #28215 )
2023-11-23 18:00:02 +01:00
Debbie O'Brien
ff2f93e36d
docs: Add video for Playwright 1.40 ( #28309 )
2023-11-23 14:01:05 +01:00
Debbie O'Brien
3d54d377ba
docs: Update codegen documentation and screenshots ( #28302 )
2023-11-23 13:05:03 +01:00
Aislinn Hayes
1f953c2148
docs: add a link to screenshots api in the docs ( #28288 )
2023-11-23 11:06:06 +01:00
Yury Semikhatsky
2b4d51b1e8
docs: grep for project dependencies ( #28299 )
...
Fixes https://github.com/microsoft/playwright/issues/28296
2023-11-22 12:31:54 -08:00
Max Schmitt
e405c1deea
docs(trace-viewer): fix <details><summary> syntax ( #28276 )
2023-11-22 19:40:23 +01:00
Max Schmitt
d7d1c80cf7
docs(python): add ignoreCase to NotToHaveAttribute ( #28267 )
...
https://github.com/microsoft/playwright-python/issues/2078
2023-11-21 08:54:23 -08:00
Max Schmitt
8c880cad76
docs(release-notes): 1.40 nits ( #28271 )
2023-11-21 08:54:01 -08:00
Max Schmitt
5ef5e776f6
docs(browsers): add protocol to PLAYWRIGHT_FIREFOX_DOWNLOAD_HOST ( #28246 )
2023-11-20 21:17:37 +01:00
Dmitry Gozman
61c089fcbd
feat(recorder): UX updates for assertion tools ( #28198 )
...
- No locator editor.
- No value editor for `toHaveValue`.
- Visual feedback for `toBeVisible`/`toHaveValue`.
- UI tweaks.
2023-11-16 13:19:36 -08:00
Dmitry Gozman
aec4399d8f
docs: release notes for v1.40 ( #28175 )
2023-11-15 18:38:43 -08:00
Max Schmitt
30aa8cd904
docs(input): use web-first assertion for isChecked() ( #28162 )
...
Fixes https://github.com/microsoft/playwright/issues/28161
2023-11-15 10:51:30 -08:00
Hemang Rajyaguru
f76c261b16
docs(ci.md): added google cloud CI docs for NodeJs using the playwright Docker Image ( #27831 )
...
Fixes #27769
2023-11-14 13:57:14 -08:00
Yury Semikhatsky
ec2c7024b6
docs: fix ignoreCase description ( #28121 )
2023-11-14 10:18:04 -08:00
Dmitry Gozman
ec4893d235
docs: update phrasing for 1.40 features ( #28113 )
2023-11-13 15:56:50 -08:00
Yury Semikhatsky
35aeace476
docs(assertions): note on whitespace normalization ( #28110 )
...
Fixes https://github.com/microsoft/playwright-java/issues/1419
2023-11-13 12:28:50 -08:00
Elijah Mock
40b8df7217
docs(running-tests-*.md): Correct "running tests" typos ( #28055 )
...
I have corrected some typos and grammar issues that I found when reading
your documentation.
---------
Signed-off-by: Elijah Mock <28277163+ekcom@users.noreply.github.com>
2023-11-13 11:31:29 -08:00
Jozef Hollý
39a555513b
Add HOME=/root to container samples in docs ( #27832 )
...
Reference: #6500
(https://github.com/microsoft/playwright/issues/6500#issuecomment-1664210041 )
It seems that this is now required, so this PR applies that to the docs.
Signed-off-by: Jozef Hollý <1708197+j2ghz@users.noreply.github.com>
2023-11-13 10:49:39 -08:00
divdavem
0ade89c121
Partial documentation update, page.evaluate never returns a handle ( #28080 )
...
The documentation is misleading because `page.evaluate` never returns a
handle.
Some other parts of the documentation may need to be updated as well
(especially other languages than javascript, I think I saw this issue
also on other pages).
---------
Signed-off-by: divdavem <david-emmanuel.divernois@amadeus.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-11-13 08:54:58 -08:00
Dmitry Gozman
c759e6a6f6
docs: move expect.extend docs from "test configuration" to "assertions" ( #28039 )
2023-11-08 09:29:36 -08:00
Max Schmitt
19b0f5ccb3
docs(dotnet): page -> Page ( #27988 )
...
Fixes https://github.com/microsoft/playwright-dotnet/issues/2738
Fixes https://github.com/microsoft/playwright/pull/27946
2023-11-07 09:28:18 +01:00
Yury Semikhatsky
53a78a315e
fix(merge): preserve original "rootDir" by default ( #27963 )
...
Fixes https://github.com/microsoft/playwright/issues/27877
2023-11-03 13:49:47 -07:00
Pavel Feldman
817a130cdc
chore: dispose-based callback termination ( #27911 )
2023-11-01 16:36:39 -07:00
Yury Semikhatsky
c7b6a76437
fix(fetch): throw when methods are called on disposed context ( #27868 )
...
Fixes #27822
2023-10-30 15:23:12 -07:00
Renan Greca
7bab19d807
docs: syntax corrections in expect.extend documentation ( #27772 )
...
Signed-off-by: Yury Semikhatsky <yurys@chromium.org>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
2023-10-30 22:03:24 +01:00
Dmitry Gozman
88f30d1ce2
feat: support firefoxUserPrefs in launchPersistentContext ( #27840 )
...
Fixes #27773 .
2023-10-27 09:24:41 -07:00
Debbie O'Brien
d395a38a63
docs: add v1.39 release video ( #27838 )
2023-10-27 14:36:32 +02:00
Jorge Senín
89e0978da4
Update class-page.md ( #27750 )
2023-10-26 12:57:37 -07:00
Greg Bergé
ae1e1885dc
docs: add Argos Reporter to doc ( #27789 )
2023-10-26 10:05:02 -07:00
Yury Semikhatsky
0ade5aa9ad
fix: ignoreCase in toHaveAttribute ( #27809 )
...
Fixes #27795
2023-10-25 19:22:13 -07:00
Debbie O'Brien
09ff9a5908
docs: update screenshots ( #27760 )
2023-10-25 20:16:48 +02:00
Max Schmitt
766bc5cd77
docs: .NET ParallelScope ( #27745 )
...
Fixes https://github.com/microsoft/playwright-dotnet/issues/2732
2023-10-23 18:22:17 +02:00
Max Schmitt
9fcfe68fcb
docs: document PWDEBUG=console disables timeout ( #27725 )
...
Fixes https://github.com/microsoft/playwright/issues/27691
Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-10-20 11:10:29 +02:00
Debbie O'Brien
a9bfb22852
docs: improve python ci guide ( #27724 )
2023-10-20 11:02:47 +02:00
Max Schmitt
02fe462dda
docs: remove why-playwright.md ( #27699 )
...
This is not referenced anywhere and not getting updated.
2023-10-19 17:32:59 +02:00
Ahmed Mubbashir Khan
7289cb7841
docs(ci): For Jenkins updated command from ci to npm ci ( #27702 )
2023-10-19 14:28:49 +02:00
Oleksandr Pelykh
7cd390b708
docs (test-cli-js.md): fix typo for list marker ( #27636 )
2023-10-18 13:56:22 -07:00
Sindre Bøyum
ee0811ad1a
docs: clarify devices import ( #27648 )
2023-10-18 13:55:20 -07:00
Max Schmitt
a005064cc8
docs: make test-timeouts AAA compliant ( #27667 )
2023-10-17 22:39:33 +02:00
Pavel Feldman
d4296dbff4
chore: break dowload.path() to throw ( #27662 )
2023-10-17 12:56:56 -07:00
Josh Lee
08bc4fd801
fix(registry): don't download x64 binaries on other platforms ( #27462 )
...
On Linux platforms, specifically check that process.arch is x64, rather
than treating it as 'not arm64'.
Treat Raspbian's /etc/os-release file as Debian.
Document the supported platforms somewhat.
Fixes #27453
2023-10-17 12:54:20 -07:00
Pavel Feldman
a54dbfdadf
chore: plumb the target close reason when test fails ( #27640 )
2023-10-16 20:32:13 -07:00
AlexKomanov
117f3f1298
docs: Fixing a release version of a method toHaveAttribute ( #27559 )
...
There is a mistake in the release version of the `toHaveAttribute`
method. It was released in the 1.39 version and not in the 1.40 like was
mentioned in the documentation.
2023-10-12 08:30:40 +02:00
Pavel Feldman
393bd36e0a
chore: composed->merge ( #27555 )
2023-10-11 13:56:27 -07:00
Dmitry Gozman
db4047b131
docs: update release notes for 1.39 ( #27549 )
2023-10-11 10:58:26 -07:00
Dmitry Gozman
0d168dc8d0
chore: release notes for 1.39 ( #27537 )
2023-10-10 15:17:43 -07:00
Dmitry Gozman
d11380e911
docs: improve test.step documentation ( #27535 )
2023-10-10 14:48:44 -07:00
Debbie O'Brien
2776d8446b
docs: how to update playwright in python ( #27527 )
2023-10-10 16:15:40 +02:00
Pavel Feldman
97c0894bc0
docs: better expect.extend docs ( #27515 )
2023-10-09 17:16:42 -07:00
Dmitry Gozman
1cb406f3a6
docs: note that pytest CLI args only apply to default fixtures ( #27511 )
...
Fixes #27413 .
2023-10-09 09:32:40 -07:00
Michael Bodnarchuk
e70b10ac2e
docs(test-reporters): Added Testomat.io reporter to list of reporters ( #27449 )
2023-10-07 11:17:44 +00:00
Debbie O'Brien
45fe42e896
docs: add latest release video ( #27479 )
2023-10-06 15:32:57 +02:00
Debbie O'Brien
3773f004db
docs: add intros for all pages ( #27480 )
2023-10-06 15:08:51 +02:00
Jim Hays
dcc8dcca73
Fix various typos ( Fixes #27396 ) ( #27391 )
...
Fixes https://github.com/microsoft/playwright/issues/27396
2023-10-04 19:56:42 -07:00