26 Commits

Author SHA1 Message Date
Simon Knott
4bcfa56a13
chore(test runner): mention different timeout (#32883)
In https://github.com/microsoft/playwright/issues/32872, a user notes
that we document `.focus()` to not timeout by default, but in practice
when used without the test runner, it defaults to a 30s timeout.

I've discussed this with Dima, and he noted that our JS documentation
focuses on usage with the Playwright test runner, not with the library.
The test runner disables timeouts for operations in favour of timeouts
for test cases. In the library, we default to a 30s timeouts. This PR
adds this to the "key differences" table.
2024-10-01 11:46:42 +02: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
Debbie O'Brien
3773f004db
docs: add intros for all pages (#27480) 2023-10-06 15:08:51 +02:00
Dmitry Gozman
36347e7fea
feat: make playwright package not install browsers automatically (#26672)
Additionally introduce `@playwright/browser-<browser>` packages that
just download the respective browser, but do not export anything.

References #26614.
2023-08-27 07:24:35 -07:00
Dmitry Gozman
bb808ca964
docs: move PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD section to library-js (#26617)
Fixes #24607.
2023-08-22 13:22:38 -07:00
Dmitry Gozman
c8b45aa844
chore: validate markdown links in doclint (#24444)
Fixes #24421.
2023-07-26 16:15:07 -07:00
Max Schmitt
9980f054bc
docs: align Node.js code snippets with ESLint (#23916) 2023-06-27 11:53:53 +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
Nour Z
f9521a01ce
docs: updated documentation URLs to use Playwright Homepage (#23250) 2023-05-24 08:43:42 -07:00
Debbie O'Brien
a567cf083f
docs: remove cli guide (#21997) 2023-03-31 10:48:05 +02:00
chimurai
f72d400952
chore: fix typos (#20473) 2023-01-30 09:53:28 +01:00
Pavel Feldman
841ac6ecb3
docs: remove third party js runners doc (#20405)
Fixes: https://github.com/microsoft/playwright/issues/20390

We are doing such a bad job documenting these third party approaches
that they bring more harm than benefit. We should let respective
integration owners own the documentation and link to it. I'll remove it
altogether for now.
2023-01-26 10:05:11 -08:00
Dmitry Gozman
921a960921
docs: fix library-js (#18314)
Fixes #18145.
2022-10-25 08:50:28 -07:00
John Hawkinson
a62a67fba3
docs(library) fix js example (#17933)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2022-10-10 21:54:17 +03:00
Max Schmitt
c5f0265481
docs(library): pwt vs. library what browsers are installed (#16618) 2022-08-17 10:42:17 -07:00
Ross Wollman
a8ad4ad801
docs: playwright test v. library (#15854)
Currently, our Playwright Test and Playwright Library pages acknowledges each exist, but don't really spell out the difference between the two.

The goal with this page is:

1. Clarify which package a user should be using
2. If using Playwright Library, show what's required

Depending on the content of this page, it may be possible to make our docs completely `@playwright/test`-first (including the examples), and then just have one doc that answers "if you're using Playwright Library, here's the few unique bits to it that you didn't have to think about in Playwright Test".

The less duplication we have across Library vs. Test docs, the less room there is for confusion and maintenance burden.

@mxschmitt is going to start making the rest of the docs more test-centric once this lands.
2022-08-02 15:52:31 -07:00
Max Schmitt
db35842a5a
docs: new troubleshooting doc (#15876) 2022-07-22 13:26:35 +02:00
Max Schmitt
3853014fa7
chore: add ubuntu 22 support (#14588) 2022-06-09 13:20:18 +02:00
Yury Semikhatsky
3d83569e5c
docs: update macOS required version (#14410) 2022-05-27 10:18:36 -07:00
Max Schmitt
37bee74ae5
chore: set minimum version to Node.js 14 (#13469) 2022-04-26 17:52:32 +02:00
Pavel Feldman
4e90eb9406
api(frame-locator): allow nth, first, last (#10195) 2021-11-09 14:14:20 -08:00
Pavel Feldman
d4073e8214 docs: assorted doc fixes 2021-09-21 15:10:22 -07:00
Feng Yu
737b155869
docs(library-js.md): fix broken [managing browsers] link (#8856) 2021-09-11 07:32:50 -07:00
Pavel Feldman
ef35bfa0da
docs: update cli & pom docs (#8380) 2021-08-23 20:10:12 -07:00
Pavel Feldman
79e8592146
docs: refresh getting started docs (#8054) 2021-08-06 14:02:41 -07:00
Max Schmitt
3c9d5cdc66
docs: hide language specific docs pages (#7860) 2021-07-27 17:22:08 +02:00