47 Commits

Author SHA1 Message Date
Max Schmitt
2c0e1e5e3a
docs(debug): add instructions for debugging tests using Chrome DevTools (#35394) 2025-03-28 10:50:18 +01:00
Adam Gastineau
5c17a1b937
fix(docs): properly render Trace Viewer debug video (#35122) 2025-03-10 06:45:37 -07:00
Dmitry Gozman
e5433d0576
chore(docs): validate params/options links (#32820)
Also supports fully-qualified links like this:
```
[`option: BrowserType.launch.headless`]
```

References https://github.com/microsoft/playwright/issues/32590.
2024-09-26 01:08:16 -07:00
damar Zaky
96e0a96ac1
docs: fix grammar and typos in various files (#31678)
- docs/src/best-practices-js.md
- docs/src/codegen.md
- docs/src/debug.md
- docs/src/events.md
- docs/src/library-js.md
- docs/src/locators.md
- docs/src/other-locators.md
- docs/src/test-components-js.md
- docs/src/trace-viewer.md

---------

Signed-off-by: damar Zaky <damzaky@gmail.com>
2024-07-16 06:15:25 -07:00
Max Schmitt
010bc29a3c
chore: harden markdown link validation (#30221) 2024-04-03 17:51:32 +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
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
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
Yury Semikhatsky
f0fb4b67c6
docs(java): clarify how to configure souce location (#22613) 2023-04-25 11:11:47 -07:00
Max Schmitt
68b351c603
docs(browsers): code snippet follow-ups (#21383)
Follow-up on
https://github.com/microsoft/playwright/pull/21051?notification_referrer_id=NT_kwDOARJsJbM1NjYxMzQ2ODgxOjE3OTg0NTQ5#event-8629388219.
2023-03-07 17:53:12 +01:00
Debbie O'Brien
e444632dec
Improve debug doc (#20924) 2023-02-16 21:05:44 +01:00
Max Schmitt
ddccb59093
chore: fix Java CLI invocation on Windows (#19895)
For reference: https://stackoverflow.com/a/64300409
2023-01-05 10:55:07 -08:00
Dmitry Gozman
e55a2bdf16
docs: rework Selectors to Other Locators (#19244)
- Replace links to `selectors.md` with `locators.md`.
- Remove sections that are covered by Locators docs.
- Restructure the rest of selectors doc, update them in terms of
locators.

Fixes #18992.
2022-12-02 21:48:37 -08:00
Tom Sparrow
90e3194482
docs(debug.md): clarify what slowMo number means (#18788) 2022-11-29 12:54:18 -08:00
Dmitry Gozman
98215b4d74
docs: mention VSCode extension in debugging doc (#18261) 2022-10-21 16:29:59 -07:00
Max Schmitt
b12cd9fb21
docs: have npm test -> npx playwright test (#17250) 2022-09-12 17:24:23 +02:00
Pavel Feldman
3cd8d6e513
chore(docs): revert recent changes temporarily (#16590) 2022-08-16 22:00:54 -07:00
Debbie O'Brien
26623a0a77
docs: selectors guide merge (#16571)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-08-16 16:14:02 +02:00
Max Schmitt
435272248f
docs(dotnet): PowerShell install enhancements (#16520) 2022-08-14 20:01:00 +02:00
Debbie O'Brien
54f7141877
docs: debug docs rework for simpler debug intro (#15836)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-07-27 13:12:01 +02:00
Debbie O'Brien
2b8198f1e3
docs: new getting started stucture (#15624)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-07-14 14:17:24 +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
76abb3a5be
chore: unify tab generation (#14802) 2022-06-10 17:34:31 -07:00
Yury Semikhatsky
19de9cacc3
docs: delete verification guide (#12698) 2022-03-12 09:32:54 -08:00
Max Schmitt
460d51284c
docs: missing $ in PowerShell shell command (#11966) 2022-02-09 08:58:21 -08:00
Pavel Feldman
5d10fbd3d8
chore: add more playwright.locator mentions (#10763) 2021-12-07 13:48:36 -08:00
Max Schmitt
a280a17157
docs: add tabs for shell scripts (#9289) 2021-10-04 15:45:52 +02:00
Pavel Feldman
d16afef75a
doc(tracing): add a trace viewer doc (#6864) 2021-06-03 08:08:05 -07:00
Max Schmitt
79b244a2f4
chore: use bash instead of sh in code blocks (#6847) 2021-06-02 18:23:06 +02:00
Max Schmitt
f629cbe053
docs: provide examples for PowerShell when settings env vars (#6718) 2021-05-25 07:10:22 +02:00
Dmitry Gozman
8490eb3c89
docs: small tweaks (#6681) 2021-05-20 09:19:58 -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
Max Schmitt
e0aaef5eab
docs: get rid of dollar sign prefix in code snippets (#6494) 2021-05-11 20:47:48 +02:00
Dmitry Gozman
ad731c1535
feat(debug): PWDEBUG=console vs PWDEBUG=inspector (#6213)
This supports `PWDEBUG=console` that:
- runs headed;
- disables timeouts;
- adds `playwright` console helper.

When using `PWDEBUG=anything-but-console`, we open inspector.
Docs keep suggesting `PWDEBUG=1`.
2021-04-20 15:58:34 -07:00
Max Schmitt
37b07adaab
docs: replace headful with headed (#6017) 2021-04-01 11:13:50 -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
1ee46a8cc0
docs: fix docusaurus build (#5554) 2021-02-22 16:37:16 -08:00
Pavel Feldman
65bf44d52b
docs(inspector): add initial inspector docs (#5541) 2021-02-21 18:36:39 -08:00
Pavel Feldman
1db5ef24a8
docs: document electron api (#5229) 2021-02-01 11:43:26 -08:00
Pavel Feldman
45c33ae02f
docs: fix some 1.8 docs nits (#5078) 2021-01-20 16:06:26 -08:00
Pavel Feldman
7701176b0a
docs: allow lang-specific sh snippets (#5024) 2021-01-14 18:19:02 -08:00
Pavel Feldman
7a8214cd95
chore: prepare non-api docs for non-js variants (#4969) 2021-01-11 09:34:49 -08:00
Max Schmitt
77bfcd2c74
chore: add some Python language snippets (#4933) 2021-01-08 08:39:33 -08:00
Pavel Feldman
913f85249f
docs: make all links relative (#4926) 2021-01-06 20:02:51 -08:00
Pavel Feldman
ae935a43d9
doc: further align docs w/ playwright.dev (#4866) 2021-01-03 08:47:29 -08:00