Dmitry Gozman
778dd20403
chore(docs): beautify generated types, put options always last ( #20805 )
2023-02-09 20:46:33 -08:00
Dmitry Gozman
98e2fe184e
chore(docs): sort members instead of validating ( #20755 )
2023-02-08 09:59:31 -08:00
Dmitry Gozman
f46883e58e
feat(expect): add GenericAssertions documentation ( #20564 )
...
References #20432 .
2023-02-01 16:55:52 -08:00
Pavel Feldman
d1c161ce99
chore: merge the util exports ( #20110 )
2023-01-13 13:50:38 -08:00
Dmitry Gozman
599ae30313
chore: update .net generator with deprecated/discouraged ( #19843 )
2023-01-03 23:03:38 +01:00
Yury Semikhatsky
2922eec8e9
chore: since for classes in api.json ( #19639 )
2022-12-21 16:30:01 -08:00
Max Schmitt
51782cfa5d
chore: fix docs roll ( #19605 )
2022-12-20 21:19:31 +01:00
Max Schmitt
bb2a2c7331
fix: render discouraged / deprecated types ( #19596 )
...
Fixes https://github.com/microsoft/playwright/issues/19591
2022-12-20 16:19:07 +01:00
Sébastien Règne
f78942d835
chore: Fix Firefox logo ( #19476 )
2022-12-19 14:47:37 -08:00
Pavel Feldman
89bdaf2441
chore: rename ScreenshotAssertions to SnapshotAssertions ( #19150 )
2022-11-29 16:57:03 -08:00
Pavel Feldman
be2139f0ac
docs: split assertions list into langs ( #19039 )
2022-11-24 08:25:24 -08:00
Pavel Feldman
f9a32e0927
chore: follow up to deprecation changes ( #19025 )
2022-11-23 12:32:14 -08:00
Pavel Feldman
f97dcd4c79
docs: annotate deprecated methods ( #19005 )
2022-11-23 08:40:47 -08:00
Pavel Feldman
3fb4b3bbf9
chore: normalize api markdown ( #18942 )
2022-11-21 09:30:32 -08:00
Pavel Feldman
03d2b2ecbf
chore: move doc-specific code into documentation ( #18933 )
2022-11-19 11:26:11 -08:00
Dmitry Gozman
0387d96cd5
chore: multiply overloaded options in csharp ( #18818 )
...
This way we'll get the same treatment in docs generator as well as
dotnet api generator.
This also adds non-suffixed aliases for string options, e.g. `Name` in
addition to `NameString` and `NameRegex`.
Fixes #18407 .
2022-11-15 15:46:54 -08:00
Dmitry Gozman
bc6617b4ca
chore: verify tab groups in docs during lint ( #18768 )
...
This extracts the logic from playwright.dev so that we get early
warnings.
2022-11-14 13:05:05 -08:00
Dmitry Gozman
8292398692
docs: support custom hrefs for api links ( #18514 )
2022-11-02 13:35:51 -07:00
Yury Semikhatsky
9f17ee6871
feat: group filter ( #17646 )
2022-09-28 18:45:01 -07:00
Pavel Feldman
bfd38bf7df
chore: introduce md templates ( #17632 )
2022-09-27 10:29:34 -07:00
Pavel Feldman
0a3cfc1c21
chore: annotate md utils to compile with ts-check ( #17600 )
2022-09-27 09:27:23 -07:00
Max Schmitt
c7367b7065
chore(dotnet): no nested namespace in transport channels ( #17273 )
2022-09-12 23:13:59 +02:00
Max Schmitt
0b4de0df7f
chore(dotnet): use csharp 10 namespace declaration ( #17248 )
2022-09-12 11:01:49 -07:00
Ross Wollman
aa23914659
chore: remove invalid device configurations ( #16777 )
...
Resolves #16622 .
- removes current invalid configurations
- validates future changes
2022-08-23 14:03:41 -07:00
Andrey Lushnikov
e7fa9432fb
fix: ensure browser versions in browsers.json ( #16760 )
...
Fixes #15702
2022-08-23 09:22:54 -07:00
Pavel Feldman
6181b0dcaf
docs: annotate since ( #15386 )
2022-07-05 17:24:50 -07:00
Ross Wollman
3805e942a1
docs(java): fix pom.xml (and auto-generate) ( #15192 )
2022-06-28 11:37:53 -07:00
Andrey Lushnikov
857d46ca93
docs: add Java release notes ( #15158 )
2022-06-27 15:31:41 -07:00
Pavel Feldman
76abb3a5be
chore: unify tab generation ( #14802 )
2022-06-10 17:34:31 -07:00
Max Schmitt
88ba9c2ff2
docs(dotnet): fix APIResponse.headers type ( #14518 )
2022-05-31 17:46:03 +02:00
Max Schmitt
7f640d8a49
docs(dotnet): add API testing ( #13889 )
2022-05-23 22:12:57 +03:00
Dmitry Gozman
c86c2e8762
feat: restore toHaveScreenshot as experimental feature ( #13549 )
...
- Restore docs.
- Make `TestConfig.expect` generated.
- Allow experimental properties with "e" marker: `- foo e<float>`.
2022-04-14 13:22:42 -07:00
Dmitry Gozman
20dcc45afa
feat: support experimental doc entries ( #13446 )
...
feat: support experimental doc entries
- Params/options/members are marked as experimental in the docs.
- `experimental.d.ts` is generated that contains all types and
includes experimental features.
- `experimental.d.ts` is references in our tests so that we
can test experimental features.
- `fonts` option is restored as experimental.
2022-04-13 16:13:30 -07:00
Max Schmitt
65395d651c
docs(dotnet): fix broken generated docs links ( #13425 )
2022-04-08 18:29:51 +02:00
Dmitry Gozman
cef476b89f
docs: support optional methods ( #13415 )
...
So far, these are used in `Reporter`.
2022-04-07 18:51:05 -07:00
Dmitry Gozman
c68f57d2d0
docs: mark optional properties/arguments explicitly with "?" ( #13369 )
...
Previously, we were guessing whether something is optional from the
comment (looking for stuff like "defaults to" or "optional").
To remove this error-prone technique, every optional property or
argument (but not option) is explicitly marked with "?".
2022-04-06 19:02:10 -07:00
Dmitry Gozman
4123a55be5
chore: generate more types ( #13358 )
...
As a result, fix documentation issues:
- Removed `TestStep.data` that is not a thing.
- Added `TestConfig.name` documentation.
- Refined a lot of optional types in the documentation.
- Aligned `test.fail()` and `test.slow()` docs with `test.skip()`.
- Strict set of docs vs types inconsistensies in the generator
2022-04-06 13:36:20 -07:00
Max Schmitt
c8cc62a2e6
chore: add link validation for docs ( #13047 )
2022-03-25 19:30:45 +01:00
Andrey Lushnikov
e16f3c46b4
docs: always keep docker references up-to-date in documentation ( #12795 )
...
References #12796
2022-03-16 13:51:39 -07:00
Yury Semikhatsky
79c8746fd2
docs: add name for screenshot animations option ( #12601 )
2022-03-08 16:02:31 -08:00
Yury Semikhatsky
b96bbc6ad7
docs: simplify test-assertions.md, avoid duplication ( #12475 )
2022-03-03 10:06:14 -08:00
Yury Semikhatsky
a413c0f94c
docs: restore assertions timeout option in js ( #12467 )
2022-03-02 12:43:16 -08:00
Max Schmitt
b8d588aa47
chore: fix .NET generation script for .NET 6 ( #11965 )
2022-02-09 18:03:37 +01:00
Yury Semikhatsky
0eaa19d5e7
docs(expect): APIResponse assertions ( #10957 )
2021-12-16 11:27:30 -08:00
Max Schmitt
b310c6bd6c
chore(dotnet): make JSHandle inherit from IAsyncDisposable ( #10905 )
2021-12-14 12:40:56 -08:00
Max Schmitt
6e607bc109
chore: fix .NET docs comments which contained < or > ( #10772 )
2021-12-07 16:33:28 -08:00
Max Schmitt
c3687a693b
chore(dotnet): fix channel generation for 1.17 ( #10711 )
2021-12-06 13:40:26 -08:00
Max Schmitt
af28a779be
docs: migrate JS assertions over to Java/Python assertions ( #10431 )
2021-11-24 21:58:35 +01:00
Max Schmitt
5a8010cf4f
fix: noncompliant Firefox User-Agents ( #10492 )
2021-11-23 18:56:22 +01:00
Joel Einbinder
bd5ae9e0cb
fix(dotnet): correctly mark members as deprecated ( #9977 )
2021-11-23 03:00:12 -05:00
Yury Semikhatsky
ade2171c4b
fix(docs): APIRequest* variable names ( #9621 )
2021-10-19 09:37:17 -07:00
Joel Einbinder
c89d5a50dd
chore: migrate to monorepo ( #9421 )
2021-10-11 16:52:17 +02:00
Max Schmitt
49a53e23df
chore: add iPhone 13 device family ( #9392 )
2021-10-08 22:43:23 +02:00
Pavel Feldman
c4c6efe7c7
chore: dedupe return types in the dotnet api generator ( #9181 )
2021-09-27 13:25:07 -07:00
Yury Semikhatsky
79eb7744bc
feat(fetch): support options in playwright._newRequest ( #9061 )
2021-09-22 12:44:22 -07:00
Yury Semikhatsky
5141407c6b
fix(fetch): prefix request with underscore ( #8922 )
2021-09-14 12:56:09 -07:00
Joel Einbinder
e914f6bbc7
feat(network): remove Headers class and add headersArray method ( #8749 )
2021-09-07 10:27:53 -07:00
Dmitry Gozman
bb5e44fbc4
docs: introduce overloads, generate JSDoc for overloads ( #8485 )
...
- Each overload, e.g. for `page.evaluate`, shows a nice autocomplete doc,
not only the first one.
- We can have multiple overloads directly on the docs page, e.g.
`test.skip(title, fn)` and `test.skip(condition, description)`.
These overloads are internally named `Test.skip#1` and all aliased
to `test.skip`.
2021-08-27 21:57:40 -07:00
Dmitry Gozman
17146b44c2
docs: validate links for all languages ( #8478 )
2021-08-26 10:59:33 -07:00
Anže Vodovnik
061b5c67f2
chore(dotnet): generate [Obsolete] on deprecated members ( #8434 )
2021-08-25 14:24:18 +02:00
Anže Vodovnik
8792955f82
fix: generator incorrectly appends <T> to name of files ( #8011 )
2021-08-05 11:17:51 -07:00
Dmitry Gozman
bfbba5a979
docs(test runner): api reference for reporter api ( #7811 )
2021-07-22 19:56:36 -07:00
Dmitry Gozman
fd9c72015f
docs(test runner): API reference for builtin fixtures ( #7805 )
2021-07-22 14:47:12 -07:00
Dmitry Gozman
8f1074c76e
docs(test-runner): initial API docs for test runner ( #7732 )
2021-07-22 11:01:18 -07:00
Max Schmitt
86b21d5299
feat: add High DPI and Low DPI Desktop device descriptors ( #7531 )
2021-07-15 22:16:27 +02:00
Max Schmitt
1b92c674f9
feat: have up2date user-agents for WK and FF ( #7644 )
2021-07-15 17:41:23 +02:00
Anže Vodovnik
61365b21ce
chore(dotnet): stop generating adapters ( #7513 )
2021-07-14 11:13:48 +02:00
Max Schmitt
b3cc683e6b
chore hide Download._cancel ( #7282 )
2021-06-23 23:20:36 +02:00
Max Schmitt
36c5395d2d
chore: rebase documentation and markdown classes from docs ( #7172 )
2021-06-17 08:19:24 +02:00
Anže Vodovnik
66f9aeee17
chore: use .Core namespace for dotnet ( #7103 )
2021-06-15 11:47:24 +02:00
Peng-Yu Chen
5f6d4a7b73
feat(download): adding a new Download._cancel method ( #6236 )
2021-06-12 22:23:22 +02:00
Pavel Feldman
6ec70bc0ac
api(dotnet): embrace nullable references ( #6964 )
2021-06-08 12:20:35 -07:00
Dmitry Gozman
33c2f6c31e
chore: do not bundle api.json and protocol.yml ( #6841 )
...
These are only needed for the driver, so bundle them
in the driver explicitly.
2021-06-02 14:01:05 -07:00
Pavel Feldman
bb0e196b15
api(dotnet): specialize waitForEvent ( #6761 )
2021-05-26 15:11:31 -07:00
Pavel Feldman
24a2326031
api(dotnet): use lists, not collections ( #6746 )
2021-05-25 15:26:44 -07:00
Pavel Feldman
f7f08c9c02
api(dotnet): normalize enums, remove browser channel enum ( #6738 )
2021-05-25 14:33:27 -07:00
Pavel Feldman
be95cf48b6
api(dotnet): make headers a dict ( #6709 )
2021-05-22 20:05:26 -07:00
Pavel Feldman
3bdb1c356f
api(dotnet): generate api in a specific folder ( #6708 )
2021-05-22 11:47:13 -07:00
Pavel Feldman
7d0b4c263f
chore: fix model types generation ( #6706 )
2021-05-22 10:13:58 -07:00
Darío Kondratiuk
544ca37c00
chore(dotnet): generate clone constructors for options ( #6684 )
2021-05-20 16:24:05 -07:00
Pavel Feldman
ba637e6e41
chore: bring back dblclick alias ( #6667 )
2021-05-19 16:29:35 -07:00
Pavel Feldman
e679d99421
chore: remove input files and selected option overrides ( #6665 )
2021-05-19 16:13:17 -07:00
Pavel Feldman
1f22673c29
api(dotnet): introduce RunAndWaitForAsync ( #6660 )
2021-05-19 15:49:44 -07:00
Pavel Feldman
972f0ec2b5
api(dotnet): migrate to options ( #6651 )
2021-05-18 23:33:52 -07:00
Pavel Feldman
36c0765c98
api(dotnet): remove serializer options ( #6641 )
2021-05-18 10:55:03 -07:00
Pavel Feldman
d2938d0a30
api(dotnet): generate options ( #6630 )
2021-05-18 07:55:04 -07:00
Max Schmitt
9592486225
feat: use up2date Chromium user-agents for device descriptors ( #6594 )
2021-05-18 09:29:48 +02:00
Pavel Feldman
1e6f899c82
chore(dotnet): simplify enum generation (2) ( #6628 )
2021-05-17 22:28:14 -07:00
Pavel Feldman
50d24387b4
chore(dotnet): simplify enum generation ( #6623 )
2021-05-17 21:27:41 -07:00
Pavel Feldman
7eca573eb4
api(dotnet): remove some overrides ( #6622 )
2021-05-17 20:10:32 -07:00
Pavel Feldman
691644666e
chore: jsify dotnet generator ( #6620 )
2021-05-17 19:16:14 -07:00
Pavel Feldman
c497c32ec9
fix(dotnet): follow up, add WaitFor(action) in order
2021-05-16 19:02:22 -07:00
Pavel Feldman
3aa9ab88ef
api(dotnet): introduce WaitFor*(action) ( #6610 )
2021-05-16 19:01:14 -07:00
Pavel Feldman
333397c0e8
chore(dotnet): fix generator escaping, make script lf-friendly ( #6606 )
2021-05-16 09:58:40 -07:00
Darío Kondratiuk
2477dccee9
chore(dotnet): generate As as a method ( #6576 )
2021-05-14 07:48:07 -07:00
Darío Kondratiuk
c4321887d1
chore(dotnet): remove set properties ( #6531 )
2021-05-13 12:00:45 -07:00
Darío Kondratiuk
5aa00d1e5e
docs(dotnet): fix link regex on xmldocs ( #6528 )
2021-05-12 08:08:12 -07:00
Anže Vodovnik
67f98d00eb
chore(dotnet): split unions into multiple overloads ( #6400 )
2021-05-06 10:23:10 +02:00
Anže Vodovnik
dddfbaaeb2
chore(dotnet): run dotnet format after generation ( #6376 )
2021-05-03 10:23:36 +02:00
Darío Kondratiuk
ba652c177f
docs: inline parsing should honor template location ( #6289 )
2021-04-29 21:16:09 -07:00