Max Schmitt
6c75c01fde
docs(dotnet): don't use C# option names ( #21709 )
...
Fixes https://github.com/microsoft/playwright-dotnet/issues/2513
Drive-by: hide C# option names
2023-03-16 09:23:31 -07:00
Dmitry Gozman
69a94ed044
docs: update default timeouts in js to be zero and mention config ( #21675 )
...
Fixes #19018 .
2023-03-14 16:34:30 -07:00
NoamGaash
e17e0e40f8
feat(routeFromHAR): add arguments ( #21223 )
2023-02-27 15:27:38 -08:00
Dmitry Gozman
0b7f9055a3
chore: fix docs for python and java ( #20962 )
2023-02-16 11:48:38 -08:00
Dmitry Gozman
77b598110f
fix(docs): inline java, js and csharp overrides ( #20833 )
...
This fixes the order of arguments as well as many incorrect arguments
around `WaitFor()` methods.
2023-02-10 15:14:28 -08:00
Dmitry Gozman
56276184ae
chore: inline docs from python.md ( #20792 )
...
These are currently messed up, with non-python options all over the
place.
2023-02-09 18:24:32 -08:00
Jeremy Hutchinson
bc134551fb
docs(dotnet): add support for CDPSession ( #20053 )
...
Implemented in https://github.com/microsoft/playwright-dotnet/pull/2448
Signed-off-by: Jeremy Hutchinson <jrhutch@live.com>
Co-authored-by: Jeremy Hutchinson <jehutchi@microsoft.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-01-26 11:49:10 +01:00
Max Schmitt
341b50fd25
chore: return Promise<any> in {page,context}.unroute ( #20135 )
2023-01-17 19:14:47 +01:00
Max Schmitt
0fe327c21b
chore: return Promise<any> in {page,context}.route ( #20005 )
...
Fixes https://github.com/microsoft/playwright/issues/19855
Closes https://github.com/microsoft/playwright/pull/19856
2023-01-10 18:07:17 +01:00
Dmitry Gozman
6721ea4d3a
docs: fix string AriaRole in java/csharp ( #19183 )
2022-11-30 13:46:33 -08:00
Dmitry Gozman
499324961a
docs: remove Promise.all from examples ( #19154 )
...
Replaced with explicit `popupPromise` variable.
2022-11-30 12:36:35 -08:00
Pavel Feldman
f97dcd4c79
docs: annotate deprecated methods ( #19005 )
2022-11-23 08:40:47 -08:00
Pavel Feldman
620e8547d4
chore: generate usage: sections based on snippets ( #18965 )
2022-11-21 10:40:21 -08:00
Pavel Feldman
3fb4b3bbf9
chore: normalize api markdown ( #18942 )
2022-11-21 09:30:32 -08:00
Yury Semikhatsky
b140b29df0
docs: clarify routeFromHAR.update semantics ( #17887 )
2022-10-07 11:27:25 -07:00
Dmitry Gozman
b07690f408
docs: use getBy... in documentation ( #17795 )
2022-10-03 17:02:46 -07:00
Yury Semikhatsky
d62baa005f
docs: hide experimental service worker api in language ports ( #15722 )
...
* Revert "docs: expose BrowserContext.serviceWorkers to Java/.NET (#15635 )"
This reverts commit 43906d0f7b5ffa6866c985930f872fd6913b8231.
* Revert "docs: expose BrowserContext.serviceWorker to Java/.NET (#15616 )"
This reverts commit cfcc35b9a62fa8fadd9e36114c53cb0e8f4277ea.
* Make Request.serviceWorker available only in js
* Make sw doc js specific
2022-07-15 10:57:18 -07:00
Ross Wollman
43906d0f7b
docs: expose BrowserContext.serviceWorkers to Java/.NET ( #15635 )
2022-07-13 15:02:03 -07:00
Max Schmitt
cfcc35b9a6
docs: expose BrowserContext.serviceWorker to Java/.NET ( #15616 )
2022-07-13 17:54:49 +02:00
Max Schmitt
ee7d60fcee
docs: migrate page actions to locator actions 2/n ( #15603 )
2022-07-13 11:50:18 +02:00
Pavel Feldman
6181b0dcaf
docs: annotate since ( #15386 )
2022-07-05 17:24:50 -07:00
Pavel Feldman
6a8d835145
chore: allow updating har while routing ( #15197 )
2022-06-28 15:09:36 -07:00
Stuart Lang
eba2bdffb9
docs: fix typo: surved -> served ( #15105 )
2022-06-24 15:06:57 +02:00
Dmitry Gozman
033c250f6d
fix(har): remove types/har.d.ts, update har.ts per spec ( #15046 )
...
Drive-by: typo fix in `notFound` option name.
2022-06-22 12:16:29 -07:00
Pavel Feldman
9525bedc1f
feat(har): re-add routeFromHAR ( #15024 )
2022-06-21 22:12:37 -07:00
Ross Wollman
0f8114f6a8
docs: replace serviceWorkers workaround ( #14902 )
2022-06-20 19:31:19 -07:00
Yury Semikhatsky
c349c1d57f
feat: newContext.har ( #14892 )
...
Replaced {Page,BrowserContext}.(un)routeFromHar with browser.newContext.har.
2022-06-15 16:35:44 -07:00
Yury Semikhatsky
df63ae9dce
docs: update strict routeFromHar default value ( #14886 )
2022-06-15 09:32:40 -07:00
Yury Semikhatsky
259c8d64a5
feat: Page.routeFromHar ( #14870 )
2022-06-15 08:41:46 -07:00
Max Schmitt
7f640d8a49
docs(dotnet): add API testing ( #13889 )
2022-05-23 22:12:57 +03:00
Guriy Samarin
cde7c5df44
docs(dotnet): migrate to top-level style code snippets ( #13559 )
2022-04-19 20:23:26 +02: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
cf643ff04c
docs: remove unsupported permission "push" from docs ( #12654 )
2022-03-10 14:00:25 -08:00
Max Schmitt
dd41cb54a8
docs: Assert.Equal -> Assert.AreEqual ( #10902 )
2021-12-13 18:41:06 -08:00
Yury Semikhatsky
565ac910e7
docs(api): expose request API in java ( #10331 )
2021-11-15 14:54:07 -08:00
Max Schmitt
1a7fb912e4
docs(python): enable request API ( #10179 )
2021-11-09 14:04:34 +01:00
Yury Semikhatsky
6d727401bf
chore(fetch): rename ApiRequest* to APIRequest* ( #9606 )
2021-10-19 07:38:27 -07:00
Darío Kondratiuk
ddbd64e4df
docs(dotnet): Improve some dotnet docs ( #9265 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-10-06 21:07:31 +02:00
Pavel Feldman
e8fdbbfa03
api: alias Fetch as ApiRequest ( #9330 )
2021-10-05 18:53:19 -07:00
Yury Semikhatsky
701a97beca
chore(fetch): unprefix _request and _newRequest ( #9325 )
2021-10-05 13:56:34 -07:00
Yury Semikhatsky
4e372dccb5
feat(fetch): import/export storageState ( #9244 )
2021-09-30 14:14:29 -07:00
Yury Semikhatsky
5141407c6b
fix(fetch): prefix request with underscore ( #8922 )
2021-09-14 12:56:09 -07:00
Pavel Feldman
64f9c3ba1d
feat(api): move fetch api into the namespace ( #8871 )
2021-09-13 12:43:07 -07:00
Yury Semikhatsky
b6180055df
feat(fetch): make fetch api public ( #8853 )
2021-09-10 18:36:55 -07:00
Max Schmitt
8e20f13079
feat(routes): add support for the times option ( #8399 )
2021-08-24 20:45:50 +02:00
Max Schmitt
d52250f2c5
docs: add note about Service Workers and route ( #8401 )
2021-08-24 15:57:35 +02:00
Pavel Feldman
fa89b9a554
docs: spelling
2021-08-23 13:34:38 -07:00
Ross Wollman
101662765c
api(cdp): newCDPSession accepts frames, too ( #8157 )
...
Without this, Playwright's CDP feature leaves unreachable
targets (namely OOPIFs).
This change allows for more advanced experimentation in user-land
without relying on out-of-band CDP connections and clients.
Now you can, for example, call `DOM.getDocument` on the
page OR main frame, observe there is an iframe node with
no `contentDocument` (i.e. OOPIF), make note of the referenced
`frameId`, and then iterate of page.frames() calling `Target.getInfo`
on each to link the Playwright Frame with the CDP `frameId` and
then recurse.
Relates #8113
2021-08-16 12:49:10 -07:00
Max Schmitt
371aa3dab2
feat: add browser.newContext({ baseUrl }) ( #7409 )
2021-07-06 21:16:37 +02:00
Pavel Feldman
d16afef75a
doc(tracing): add a trace viewer doc ( #6864 )
2021-06-03 08:08:05 -07:00