Simon Knott
40670e6ffd
fix(emulate media): document "no-preference" as deprecated ( #32881 )
...
Closes https://github.com/microsoft/playwright/issues/32862 .
`prefers-color-scheme: no-preference` was removed from browsers. This PR
marks it as deprecated in our docs and removes all mentions.
---------
Signed-off-by: Simon Knott <info@simonknott.de>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-10-04 16:49:32 +02:00
Max Schmitt
895be9f8de
chore: lint java docs snippets ( #32945 )
2024-10-04 11:34:04 +02:00
Michael Render
81e907f4c1
docs(dotnet): fix isMobile in snippet ( #30699 )
2024-05-07 22:34:55 +01:00
Christopher Dunderdale
36eed69fe2
docs(emulation): fix incorrect code snippet for using JavaScriptEnabled ( #29333 )
2024-02-04 10:31:28 +01:00
inottn
0fa85143a0
docs: add missing imports ( #29014 )
2024-01-17 08:11:55 +01:00
Debbie O'Brien
3773f004db
docs: add intros for all pages ( #27480 )
2023-10-06 15:08:51 +02: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
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
Dmitry Gozman
c8b45aa844
chore: validate markdown links in doclint ( #24444 )
...
Fixes #24421 .
2023-07-26 16:15:07 -07: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
Max Schmitt
9980f054bc
docs: align Node.js code snippets with ESLint ( #23916 )
2023-06-27 11:53:53 +02:00
Max Schmitt
69ae8c1a28
docs(dotnet): fix syntactically incorrect code snippets ( #23900 )
2023-06-26 18:21:14 +02:00
Kun Fan
d279a8c242
docs(emulation): add a missing closing bracket ( #23575 )
2023-06-07 22:53:42 +02:00
Adrien Fichet
ae930910ad
docs: permissions example should be an array ( #23052 )
2023-05-17 10:55:39 +02:00
Debbie O'Brien
7a8eb15820
docs: add titles to config snippets ( #22910 )
...
Docs PR: https://github.com/microsoft/playwright.dev/pull/1039
---------
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-10 18:38:12 +02:00
Debbie O'Brien
3a0f49acab
docs: add options snippets to api docs ( #22098 )
2023-04-18 19:04:13 +02:00
Max Schmitt
771abe15fb
docs(node): consolidate JS/TS snippets for guides ( #21710 )
...
https://github.com/microsoft/playwright/issues/21385
2023-03-16 21:16:18 +01:00
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
Debbie O'Brien
2067d715ff
docs: screens codegen emulation ( #21094 )
2023-03-07 08:58:49 +01:00
Debbie O'Brien
e305d207fe
docs: merge emulation config ( #21340 )
2023-03-06 16:43:32 +01:00
Pavel Feldman
e065d608b6
chore: introduce defineConfig for easier JS typing ( #20061 )
...
Fixes https://github.com/microsoft/playwright/issues/19694
2023-01-12 13:12:02 -08:00
Max Schmitt
d5881b8d48
docs: test runner first inside Node.js docs ( #19659 )
2022-12-23 10:57:29 +01:00
Tim Deschryver
cb1dcccbe6
docs(nodejs): extend geolocation context examples ( #17587 )
2022-10-31 09:39:44 -07:00
Debbie O'Brien
1f34531a22
docs: Emulation improvements ( #17090 )
2022-09-08 18:57:20 +02:00
Max Schmitt
d21f06d650
docs: mention test-runner docs in library docs ( #16348 )
2022-08-08 17:05:56 +02:00
Max Schmitt
ee7d60fcee
docs: migrate page actions to locator actions 2/n ( #15603 )
2022-07-13 11:50:18 +02:00
Max Schmitt
52932172e7
docs(python): fix set_viewport_size in emulation.md ( #12271 )
2022-02-22 20:15:46 +01: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
f9357531f5
doc(dotnet): add a self-contained example ( #6702 )
2021-05-22 07:55:53 -07:00
Pavel Feldman
6281b95acc
docs(dotnet): follow up to Anze's changes ( #6672 )
2021-05-20 08:20:21 -07:00
Anže Vodovnik
c80e9fa58a
docs(dotnet): guides ( #6639 )
2021-05-19 19:53:12 -07:00
Yury Semikhatsky
70beef83d0
docs: rename with* to set* for java ( #5737 )
2021-03-05 13:50:34 -08:00
Yury Semikhatsky
6c9e806672
docs: add java snippets to the examples in guides ( #5638 )
2021-03-01 09:18:44 -08:00
Yury Semikhatsky
0ad2aceb2d
docs: filter out devices section in java ( #5562 )
2021-02-23 12:51:38 -08:00
Pavel Feldman
01fb3a6045
docs: extract handles, screenshots, videos docs ( #5045 )
2021-01-17 21:09:40 -08:00
Pavel Feldman
1fc02e8823
docs: add dialogs and downloads docs ( #5042 )
2021-01-16 14:37:13 -08:00
Dmitry Gozman
e85f278869
docs: more python docs and snippets ( #5021 )
2021-01-14 15:01:39 -08:00
Pavel Feldman
cb6e4a6657
chore: update snippets in python docs ( #4976 )
2021-01-11 17:04:24 -08:00
Pavel Feldman
7a8214cd95
chore: prepare non-api docs for non-js variants ( #4969 )
2021-01-11 09:34:49 -08:00
Pavel Feldman
e67d89747a
chore: update docs to cover python specifics ( #4960 )
2021-01-10 18:18:35 -08:00
Max Schmitt
77bfcd2c74
chore: add some Python language snippets ( #4933 )
2021-01-08 08:39:33 -08:00
Pavel Feldman
ae935a43d9
doc: further align docs w/ playwright.dev ( #4866 )
2021-01-03 08:47:29 -08:00