Dmitry Gozman
7c0bff15ca
feat(fulfill): improve fulfilling from har ( #14789 )
...
- `har` option is now an object `{ path, fallback }`.
- Allows falling back to `abort()`, `continue()` or throwing.
- Matches based on url + method.
- Follows redirects in the HAR file.
- Nice error/stack when throwing.
- Tests.
2022-06-10 14:26:45 -07:00
Dmitry Gozman
e975aef961
feat(route): fulfill from har ( #14720 )
...
feat(route): fulfill from har
This allows to use pre-recorded HAR file to fulfill routes.
2022-06-08 20:29:03 -07:00
Max Schmitt
77537d6b59
docs(dotnet): enable request interception ( #14517 )
2022-05-31 17:46:16 +02:00
Max Schmitt
2844623109
docs: add route class -> networking guide reference ( #14092 )
2022-05-11 16:07:00 +01: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
Yury Semikhatsky
7d7fe3c618
fix(route): remove cors option, compare origin ( #13231 )
2022-03-31 19:21:21 -07:00
Yury Semikhatsky
5734c18ef8
feat(route): add cors header in route.fulfill ( #12943 )
2022-03-25 14:56:57 -07:00
Max Schmitt
2815180162
docs(python): enable Route.fulfill.response
2022-02-11 15:26:02 +01:00
Yury Semikhatsky
b436fbbbf4
docs(java): route.fulfill with APIResponse ( #11711 )
2022-01-27 15:43:38 -08:00
Yury Semikhatsky
7e52357178
docs(fetch): ApiResponse -> APIResponse ( #9623 )
2021-10-19 11:17:23 -07:00
Pavel Feldman
e8fdbbfa03
api: alias Fetch as ApiRequest ( #9330 )
2021-10-05 18:53:19 -07:00
Max Schmitt
e641bf2bed
chore: hide Route.fulfill.response from != JS
2021-09-14 23:31:46 +02:00
Yury Semikhatsky
b6180055df
feat(fetch): make fetch api public ( #8853 )
2021-09-10 18:36:55 -07:00
Max Schmitt
998f2ab959
chore: hide Route.fulfill._response from API ( #8483 )
2021-08-27 00:44:20 +02:00
Yury Semikhatsky
59422a00f5
feat(route): rename method, add response option ( #8386 )
2021-08-24 11:07:54 -07:00
Yury Semikhatsky
3aae170b03
docs: fix java code snippets ( #8319 )
2021-08-19 11:24:38 -07:00
Max Schmitt
027fc4c0b4
chore: hide request interception for 1.13 ( #7425 )
2021-07-01 18:33:47 +02:00
Yury Semikhatsky
c0cd2d4579
feat: response interception ( #7122 )
2021-06-18 11:04:48 -07:00
Pavel Feldman
fad77e2f78
docs(dotnet): udpate existing examples ( #6669 )
2021-05-19 17:19:25 -07:00
Pavel Feldman
7eca573eb4
api(dotnet): remove some overrides ( #6622 )
2021-05-17 20:10:32 -07:00
Anže Vodovnik
ec0b4e9061
docs(dotnet): route examples ( #6578 )
2021-05-14 07:49:14 -07:00
Dmitry Gozman
ce0331038b
docs: add route example with some logic ( #6324 )
2021-04-26 08:46:17 -07:00
Yury Semikhatsky
70beef83d0
docs: rename with* to set* for java ( #5737 )
2021-03-05 13:50:34 -08:00
Anže Vodovnik
86c7d77967
chore(dotnet): handle setters and ordering bug ( #5654 )
2021-03-01 18:49:14 +01:00
Yury Semikhatsky
cb0a890a09
docs: java snippets for api classes ( #5629 )
2021-02-25 22:03:39 -08:00
Yury Semikhatsky
1c65b592d0
docs: use separate options for string and buffer body ( #5291 )
2021-02-03 14:56:17 -08:00
Yury Semikhatsky
080a9529b3
docs: rename Route.continue_ to Route.resume in java and C# ( #5290 )
2021-02-03 13:40:58 -08:00
Yury Semikhatsky
e71ef7949b
docs: add java traits to some methods ( #5222 ) ( #5243 )
2021-02-01 11:13:13 -08:00
Pavel Feldman
82bb92f103
Revert "docs: add java traits to some methods ( #5222 )"
...
Breaks playwright.dev
2021-01-30 22:15:56 -08:00
Yury Semikhatsky
9c4668685d
docs: add java traits to some methods ( #5222 )
2021-01-29 19:15:25 -08:00
Pavel Feldman
35baf335d8
Revert "docs: update langs fields to include java ( #5161 )"
...
iThis broke Python docs.
2021-01-27 11:31:34 -08:00
Yury Semikhatsky
d0ab0bd8f2
docs: update langs fields to include java ( #5161 )
2021-01-27 11:11:05 -08:00
Pavel Feldman
8354a91d0e
docs: add python snippets for api classes ( #5011 )
2021-01-14 07:48:56 -08:00
Pavel Feldman
b7e0b1b393
docs: annotate evaluate(pageFunction) js-specific ( #4954 )
2021-01-08 16:17:54 -08:00
Pavel Feldman
114d586f07
chore: add python aliases ( #4949 )
2021-01-08 15:00:14 -08:00
Pavel Feldman
bdf12e32e4
docs: split api-body into classes ( #4931 )
2021-01-07 11:46:05 -08:00