Max Schmitt
adccd39b01
docs(dotnet): type specific addLocatorHandler handler ( #29586 )
2024-02-22 23:53:09 +01:00
Simon Willison
e846afeb98
docs(python): Clarify Pytest v.s. Library on Python intro page ( #29590 )
2024-02-22 09:27:41 +01:00
Yury Semikhatsky
9a1e0a8ff7
docs: custom reporter path in --reporter option ( #29585 )
...
Fixes https://github.com/microsoft/playwright/issues/29525
2024-02-20 13:32:53 -08:00
Jan Lelis
3f46ba0680
docs(auth): Fix double use of JSON.stringify in Session storage example ( #29554 )
2024-02-20 19:57:44 +01:00
Yury Semikhatsky
f3fde992eb
chore: remove --project-grep, add wildcard support ( #29537 )
...
Reference #15128
2024-02-16 19:18:00 -08:00
Dmitry Gozman
bd5403dcad
chore: remove --tag and tagFilter ( #29468 )
...
This makes new tags filtered by the `grep`. New `TestCase.tags` API now
includes both old and new tags.
2024-02-15 11:37:16 -08:00
Sylvain Finot
b11b118e02
feat(chromium): expose parameters to generate outline / tagged PDF ( #29494 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2024-02-15 17:28:04 +01:00
Yury Semikhatsky
edc1c13f31
docs: locator handler type should be Runnable in java ( #29503 )
2024-02-14 19:21:28 -08:00
Max Schmitt
93a2c00a1d
docs(webServer): add missing options ( #29490 )
2024-02-14 17:57:40 +01:00
Max Schmitt
ce5d970929
docs: make sure to await route.* methods ( #29489 )
...
Fixes https://github.com/microsoft/playwright/issues/29471
Follow-up on https://github.com/microsoft/playwright/pull/28745 .
2024-02-14 17:57:12 +01:00
Max Schmitt
918c26fa02
docs(other-locators): hide css:light selector engine ( #29491 )
...
https://github.com/microsoft/playwright/issues/29479
2024-02-14 08:49:42 -08:00
Brian Scramlin
2550ba3396
Update test-fixtures-js.md ( #29283 )
2024-02-13 11:28:34 -08:00
Max Schmitt
30557ed28c
fix(electron): stalling on delayed process close ( #29431 )
2024-02-13 10:25:46 +01:00
Yury Semikhatsky
7834beb932
chore: extract --project-grep option for matching with regex ( #29445 )
...
Reference https://github.com/microsoft/playwright/issues/15128
2024-02-10 11:19:00 -08:00
Dmitry Gozman
f0244b8a76
chore: rename handleLocator to addLocatorHandler ( #29443 )
2024-02-09 15:18:50 -08:00
Max Schmitt
abd8502490
devops: do not publish sha-X Docker images ( #29433 )
2024-02-09 09:07:10 -08:00
Dmitry Gozman
61955e55b1
fix(handleLocator): address API review feedback ( #29412 )
...
- docs improvements;
- `force: true` ignores `handleLocator`;
- wrapping an internal call;
- more test cases;
- `pw:api` log entries for this API.
2024-02-08 07:39:05 -08:00
Dmitry Gozman
3331a40647
feat(test runner): tags/annotations ( #29248 )
...
API changes:
- `test(title, details, body)` where details contain `tag` and
`annotation`.
- similar `details` property added to `test.skip`, `test.fail`,
`test.fixme`, `test.only`, `test.describe` and other `test.describe.*`
variations.
- `TestProject.tagFilter`/`TestConfig.tagFilter` that supports logical
tag expressions with `(`, `)`, `and`, `or` and `not`.
- `--tag` CLI option to filter by tags.
- New annotations are available in `TestInfo.annotations` and
`TestCase.annotations`.
- New tags are available in `TestCase.tags`.
Reporter changes:
- `json` reporter includes new tags in addition to old `@smoke`-style
tags. **Breaking**: tags are now listed with the leading `@` symbol.
- `html` reporter filters by old and new tags with the same `@smoke`
token.
Fixes #29229 , fixes #23180 .
2024-02-07 16:31:25 -08:00
Colin Harris
bb380691f0
docs: reference GitHub actions/checkout@v4 and actions/setup-node@v4 ( #29392 )
2024-02-07 09:50:09 +01:00
Dmitry Gozman
9e285ce919
docs: do not call custom expect message an "error message" ( #29390 )
...
Fixes #29378 .
2024-02-06 12:12:45 -08:00
Dmitry Gozman
fb29d90052
docs: remove overloads from test.* APIs ( #29376 )
2024-02-05 19:03:04 -08:00
Max Schmitt
47f8ba2a04
feat(electron): expose ElectronApplication console events ( #29322 )
...
Fixes https://github.com/microsoft/playwright/issues/5905
2024-02-05 21:30:54 +01:00
Christopher Dunderdale
36eed69fe2
docs(emulation): fix incorrect code snippet for using JavaScriptEnabled ( #29333 )
2024-02-04 10:31:28 +01:00
Max Schmitt
a6e0af6767
feat: parse projects option as RegExp ( #29327 )
...
Fixes https://github.com/microsoft/playwright/issues/15128
Relates https://github.com/microsoft/playwright/pull/17244
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2024-02-02 23:05:20 +01:00
Max Schmitt
0f8d619012
docs(dotnet): add docs for SetDefaultExpectTimeout ( #29259 )
2024-01-31 17:49:01 +01:00
Daniel Han
be6ab76c04
docs: add CLI documentation for --no-deps ( #29235 )
2024-01-30 11:44:33 -08:00
iridescentGray
289127d523
docs: fix python mock docs ( #29230 )
2024-01-30 09:04:28 +01:00
iridescentGray
14f94fcff5
fix: python mock doc Missing ( #29187 )
2024-01-29 15:02:19 -08:00
John Hill
82f40d0802
docs: Add Warning about Github Annotations ( #29202 )
2024-01-29 14:59:28 -08:00
Bruno Mańczak
3e2d5b2800
docs: add an example of how to use "+" key as part of a shortcut ( #29221 )
2024-01-29 14:57:10 -08:00
Max Schmitt
1db4e2effb
devops: bump GitHub Actions workflow actions ( #29219 )
...
Fixes:
<img width="2186" alt="image"
src="https://github.com/microsoft/playwright/assets/17984549/e75b4319-a8d9-4784-8357-83611f2671ae ">
2024-01-29 19:22:44 +01:00
Gabriel Feo
12a9a308f8
chore: replace "node.js" mention in shared docs ( #29119 )
...
Remove "Node.js" mention from the shared part of docs, which are shown
in docs for Python and other platforms.
2024-01-25 16:53:25 -08:00
Yury Semikhatsky
f49426b006
docs: update browsers when updating playwright ( #29128 )
2024-01-24 21:54:03 -08:00
Yury Semikhatsky
0752f0202f
docs: teardown examples ( #29134 )
...
Fixes https://github.com/microsoft/playwright/issues/29068
2024-01-23 16:35:30 -08:00
Yury Semikhatsky
ea855e232e
docs: update note on filtering dependent projects ( #29135 )
...
Fixes https://github.com/microsoft/playwright/issues/29102
2024-01-23 16:10:43 -08:00
Yury Semikhatsky
9cd2916623
docs: add a new fruit when mocking response ( #29137 )
...
Strawberry is already in the original list.
Fixes https://github.com/microsoft/playwright/issues/29114
2024-01-23 16:10:33 -08:00
Max Schmitt
d89ed88679
docs: do not recommend PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD anymore ( #29121 )
2024-01-23 09:12:47 -08:00
Yury Semikhatsky
fbf87ef904
fix: test.fail wrapper method ( #29112 )
...
Fixes https://github.com/microsoft/playwright/issues/29104
2024-01-22 19:47:27 -08:00
Max Schmitt
db00aa7305
fix: remove unused TestInfo.stdout/stderr ( #29076 )
...
https://github.com/microsoft/playwright/issues/29062
2024-01-22 19:22:31 +01:00
Dmitry Gozman
f3fac6f4e9
feat: page.handleLocator that closes any interstitial pages/dialogs ( #29029 )
2024-01-19 12:35:00 -08:00
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
Pavel Feldman
25f06575bf
docs: recommend using test stories in ct ( #27440 )
...
Closes https://github.com/microsoft/playwright/issues/27439
2023-10-04 19:48:26 -07:00
Pavel Feldman
b2a07c2675
docs: improve the emulation viewport doc ( #27434 )
...
Closes https://github.com/microsoft/playwright/issues/27428
2023-10-04 16:57:23 -07:00
Yury Semikhatsky
ac48a47d33
feat: toHaveAttribute without value ( #27418 )
...
This time not doing it in other languages due to unjustified generator
complexity.
Fixes #27341
2023-10-04 09:27:28 -07:00
Caleb St-Denis
b5a40a90c2
docs: Fix typo in JS intro ( #27401 )
2023-10-03 09:52:33 +02:00
Debbie O'Brien
3a1e5f4b7b
docs: improve project dependencies ( #27390 )
2023-10-03 09:51:56 +02:00
Sander
d1ae0ab94f
docs(ct): pnpm create playwright ( #27377 )
...
pnpm supports the `create` command which acts as a shortcut to `pnpm dlx
create-*`
related:
https://github.com/microsoft/playwright/pull/24397/files#diff-af370723ed754e89d1e69d20f211a5a8249651b1b5692348398bbd105f1ac445R47
2023-10-02 10:58:58 -07:00
Dmitry Gozman
2a8d6a8207
docs: encourage using expect() instead of getters like textContent() ( #27362 )
2023-09-29 10:52:20 -07:00
Pavel Feldman
d136b0aeb6
feat(step): allow boxing steps ( #27334 )
2023-09-29 09:44:00 -07:00
Dmitry Gozman
7da1dfd21c
docs: add C# code snippet to extensibility.md ( #27328 )
...
Fixes #27160 .
2023-09-27 11:54:02 -07:00
jaktestowac.pl
6181960898
docs: best-practices update ( #27267 )
...
Best practices doc update:
- adding UI Mode to `Use Playwright's Tooling` section
- correcting heading for `Use parallelism and sharding` (previously this
section was falsy included in `Lint your tests`)
Fixes #27302
2023-09-26 12:26:15 -07:00
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 475c96d4c2 .
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
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
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
Max Schmitt
b483bf9fcc
feat: add support for Debian 12 for Firefox/WebKit ( #24206 )
...
https://github.com/microsoft/playwright/issues/23532
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-07-13 12:56:44 +02:00
Andrey Lushnikov
74cf869c03
docs: add release notes for 1.36 ( #24135 )
2023-07-10 11:58:52 -07:00
Max Schmitt
6ab6cde929
docs(python): remove await in sync code snippet ( #24124 )
2023-07-10 16:08:39 +02:00
Max Schmitt
37b3531a11
docs(python): fix code snippet in emulation guide ( #24108 )
...
Fixes https://github.com/microsoft/playwright-python/issues/1997
Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-07-08 10:08:10 +02:00
Debbie O'Brien
88010333f3
docs: fix har example ( #23982 )
2023-07-06 15:04:03 +02:00
Max Schmitt
fef029e98e
docs: code snippet alignments ( #23959 )
2023-06-29 18:26:19 +02:00
Dmitry Gozman
1ab99fe1b8
feat(electron): support tracesDir option ( #23947 )
...
References #23620 .
2023-06-28 16:32:16 -07:00
Debbie O'Brien
c6a0f3e8a0
docs: improve example for mock API ( #23759 )
2023-06-27 19:01:39 +02:00
Max Schmitt
138e143030
docs: fix leftover broken Node.js code snippets ( #23919 )
2023-06-27 14:39:44 +02:00
Max Schmitt
9980f054bc
docs: align Node.js code snippets with ESLint ( #23916 )
2023-06-27 11:53:53 +02:00
Max Schmitt
71650f9bd1
docs(python): fix syntactically incorrect snippets ( #23904 )
2023-06-27 11:53:27 +02:00
Max Schmitt
69ae8c1a28
docs(dotnet): fix syntactically incorrect code snippets ( #23900 )
2023-06-26 18:21:14 +02:00
Debbie O'Brien
a18475eaab
docs: add release video to notes ( #23880 )
2023-06-23 20:04:59 +02:00
Max Schmitt
a658c4fd05
docs: discourage from caching browsers ( #23814 )
...
As per https://github.com/epicweb-dev/epic-stack/pull/204 and
https://twitter.com/kentcdodds/status/1670857818604474368 .
2023-06-21 14:04:15 +02:00
awatson-scottlogic
3777fc8b0f
docs(class-testoptions): fix launchOptions snippet ( #23831 )
2023-06-21 14:03:26 +02:00
Max Schmitt
ba9666bb0c
docs(intro): Python drop 3.7 support ( #23748 )
...
Python 3.7 is EOL with our next release, so we can drop it.
https://github.com/microsoft/playwright-python/pull/1980
Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-06-16 21:50:29 +02:00
Yury Semikhatsky
fd49940d2b
docs: add missing expect import ( #23737 )
...
Fixes #23736
2023-06-15 11:10:03 -07:00
Max Schmitt
e5b07d662c
docs(dotnet): add note about using assertions with library ( #23642 )
...
Common question.
2023-06-13 09:04:13 -07:00
Max Schmitt
460e7fcfa2
chore: fix language port 1.35 release notes ( #23674 )
2023-06-13 09:03:50 -07:00
Yury Semikhatsky
ea7e9822aa
docs: release notes for ports ( #23670 )
2023-06-12 17:18:15 -07:00
Debbie O'Brien
0560a73ce9
docs: improve by adding teardown and examples ( #23470 )
2023-06-09 17:57:38 +02:00
bmaupin
c242dfac4c
docs: Make auth.setup.ts location clearer ( #23572 )
...
In the documentation, the directories of the other files are clearly
listed, making it clear where they should go, e.g.
- `playwright/fixtures.ts`
- `tests/example.spec.ts`
This applies the same principal to auth.setup.ts.
2023-06-08 21:38:54 -07:00
Andrey Lushnikov
b92dc47665
docs: fix images for release notes ( #23606 )
...
The previous were uploaded to a private repository artifacts and
were not accessible for a general public.
2023-06-08 15:10:41 -07:00
Max Schmitt
42ad9e71cb
docs: enhance UI mode docs ( #23582 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-06-08 21:33:07 +02:00
Dmitriy Dudkevich
187cfdc328
feat: ability to pass additional headers to selenium ( #23348 )
2023-06-08 10:41:36 -07:00
Kun Fan
d279a8c242
docs(emulation): add a missing closing bracket ( #23575 )
2023-06-07 22:53:42 +02:00
Andrey Lushnikov
e0c4576e29
docs: add a note about CodeSpaces UI mode ( #23580 )
2023-06-07 12:41:36 -07:00
Andrey Lushnikov
eda109388e
docs: js release notes 1.35 ( #23560 )
...
Signed-off-by: Andrey Lushnikov <aslushnikov@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-06-07 11:05:05 -07:00
Andrey Lushnikov
0f4090472c
feat: add maskColor option to the toHaveScreenshot method ( #23555 )
2023-06-06 17:15:55 -07:00
Pavel Feldman
1cd8f7543b
docs: fix the transpiler docs ( #23550 )
2023-06-06 16:16:06 -07:00
Max Schmitt
85be65b07b
chore: update npx playwright uninstall docs ( #23552 )
2023-06-06 22:09:15 +02:00
Max Schmitt
aab322f2a1
docs(best-practises): recommend no-floating-promises ( #23487 )
...
https://github.com/microsoft/playwright/issues/23339
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
2023-06-06 20:45:46 +02:00
Debbie O'Brien
5e0195f7c4
docs: Soft expect example + tobeAttached ( #23475 )
2023-06-06 20:06:55 +02:00
Debbie O'Brien
dfd1518327
docs: explain attachments in ui mode ( #23472 )
2023-06-06 16:30:29 +02:00
Debbie O'Brien
dfe40de1fe
docs: add stderr and stdout to example ( #23474 )
2023-06-06 16:18:41 +02:00
Debbie O'Brien
a7b3c773c4
docs: rework locators to improve visibility ( #23473 )
2023-06-05 19:23:45 +02:00
Max Schmitt
75971af55b
feat(cli): introduce npx playwright uninstall ( #23128 )
...
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2023-06-05 18:50:21 +02:00
Gary McDonald
718ee69cb8
docs: fix various spelling mistakes in the docs project directory. ( #23510 )
...
Signed-off-by: Gary McDonald <mcdonagj@dukes.jmu.edu>
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-06-04 18:04:42 +02:00
Jan Molak
dd3ca6907a
docs: added Serenity/JS to the list of third-party reporters ( #23485 )
2023-06-02 14:13:32 -07:00
Dmitry Gozman
b1974961b0
docs: remove troubleshooting guide ( #23454 )
...
Signed-off-by: Dmitry Gozman <dgozman@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-06-02 14:13:02 -07:00
Francois La Cock
49c8c6fa33
Update best-practices-js.md ( #23466 )
2023-06-02 13:05:17 -07:00
Kristo Jorgenson
a4a363f4f4
chore: upgrade @types/node to 16.x ( #23429 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-06-02 10:04:41 +02:00