2409 Commits

Author SHA1 Message Date
Debbie O'Brien
dfe40de1fe
docs: add stderr and stdout to example (#23474) 2023-06-06 16:18:41 +02:00
Debbie O'Brien
a7b3c773c4
docs: rework locators to improve visibility (#23473) 2023-06-05 19:23:45 +02:00
Max Schmitt
75971af55b
feat(cli): introduce npx playwright uninstall (#23128)
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2023-06-05 18:50:21 +02:00
Gary McDonald
718ee69cb8
docs: fix various spelling mistakes in the docs project directory. (#23510)
Signed-off-by: Gary McDonald <mcdonagj@dukes.jmu.edu>
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-06-04 18:04:42 +02:00
Jan Molak
dd3ca6907a
docs: added Serenity/JS to the list of third-party reporters (#23485) 2023-06-02 14:13:32 -07: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
Francois La Cock
49c8c6fa33
Update best-practices-js.md (#23466) 2023-06-02 13:05:17 -07:00
Kristo Jorgenson
a4a363f4f4
chore: upgrade @types/node to 16.x (#23429)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-06-02 10:04:41 +02:00
Pavel Feldman
96b2247e28
chore: allow marking scripts as external for transform (#23449)
Fixes https://github.com/microsoft/playwright/issues/22874
2023-06-01 20:28:49 -07:00
Daenam Kim
8b18bfcad1
docs: fix imports in auth.md (#23430)
While following instructions steps in the doc, I found some imports were
different as I expected. Correct me if I am wrong. :)
2023-06-01 09:23:22 -07:00
Max Schmitt
10ec3cfa2a
chore: generate docs versions in pw.dev (#23412)
https://github.com/microsoft/playwright/issues/23395
2023-06-01 01:14:00 +02:00
Max Schmitt
2582d3984b
docs(ci): have yaml snippets for each language (#23392)
Fixes https://github.com/microsoft/playwright/issues/23134
Fixes https://github.com/microsoft/playwright/issues/23292
2023-05-31 14:29:54 +02:00
Andrey Lushnikov
5cd271a2a7
docs: add option clarifications (#23384)
Fixes https://github.com/microsoft/playwright/issues/23355
2023-05-30 17:19:48 -07:00
retrowaver
7638b4bb76
docs: fix python example for Locator.last (#23378) 2023-05-31 00:52:51 +02:00
Max Schmitt
d6e24fafe8
docs: specify assertion timeout type (#23333)
Fixes https://github.com/microsoft/playwright-dotnet/issues/2589
2023-05-30 18:13:14 +02:00
Debbie O'Brien
0c2ec4b7f6
docs: add release video (#23365)
add missing videos to release notes
2023-05-30 18:03:33 +02:00
Yury Semikhatsky
962c32ae10
docs: fix since version for the methods new in 1.34 (#23315) 2023-05-26 11:03:31 -07:00
keita hino
f301ddfc7e
docs(class-locator.md): fix incorrect version of locator-and (#23216) 2023-05-26 09:47:19 -07:00
Yury Semikhatsky
bf5cecc545
docs: release notes for language ports (#23272) 2023-05-24 16:39:47 -07:00
Nour Z
f9521a01ce
docs: updated documentation URLs to use Playwright Homepage (#23250) 2023-05-24 08:43:42 -07:00
Jasiel Guillén
700062c836
feat(screenshot): Add customizable color option for masked elements (#23185)
I added a new option to the screenshot method to customize the color of
the box when we want to mask some elements for the screenshot.

The default color is pink `#FF00FF`, but with this new option you can
specify the color you like the most, like a nice green `#00FF00`:

```js
await page.screenshot({
  mask: [page.locator('div').nth(5)],
  maskColor: "#00FF00",
})
```


![ss](https://github.com/microsoft/playwright/assets/23271049/05f754de-0ba6-47a3-ae3e-769720d3da3b)

---------

Signed-off-by: Jasiel Guillén <darkensses@gmail.com>
2023-05-22 18:44:44 -07:00
Sander
e872a2b286
docs(ct): rephrase how to get started (#23195) 2023-05-22 13:26:08 -07:00
Sam Adams
c0bfbea395
docs: fix example for globalSetup/globalTeardown (#23085)
Signed-off-by: Sam Adams <107990625+sam-super@users.noreply.github.com>
2023-05-22 11:13:52 -07:00
Daniel Eisterhold
6173014a75
docs: fix link to MSTest section on test-runner page (#23200)
Signed-off-by: Daniel Eisterhold <deisterhold@users.noreply.github.com>
2023-05-22 11:02:30 -07:00
Tianzhen Lin (Tangent)
86b49993dc
doc: Fix typo in 1.34.0 release notes (#23188)
Fix a typo found in 1.34.0 release notes

Signed-off-by: Tianzhen Lin (Tangent) <tangent@usa.net>
2023-05-22 10:16:46 -07:00
Andrey Lushnikov
def82d1d27
docs: update release notes (#23165)
Signed-off-by: Andrey Lushnikov <aslushnikov@gmail.com>
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-19 10:36:42 -07:00
Max Schmitt
9b4f9b1136
docs: add dialog/consoleMessage helper methods for language bindings (#23140)
https://github.com/microsoft/playwright-dotnet/issues/2565

---------

Co-authored-by: Yury Semikhatsky <yurys@chromium.org>
2023-05-18 23:47:28 +02:00
Dmitry Gozman
ab7e794bf7
feat(shard): introduce mode: 'default' (#23023)
This mode allows a suite to opt-out from parallelism. Useful to setup
multiple suites running in parallel, with each suite not being sharded.

References #22891.
2023-05-18 13:07:22 -07:00
Pavel Feldman
3395a28181
chore: opt out of trace attachments (#23139)
Fixes: https://github.com/microsoft/playwright/issues/23137
2023-05-18 11:27:45 -07:00
Andrey Lushnikov
b31511e0c9
chore: cut v1.34.0 (#23121) 2023-05-17 19:05:38 -07:00
Andrey Lushnikov
6963483c47
docs: release notes for node.js 1.34 (#23113) 2023-05-17 18:33:36 -07:00
Max Schmitt
7b1b2dd741
docs(assertions): add note for setting global python expect timeout (#23106)
Fixes https://github.com/microsoft/playwright-python/issues/1358
2023-05-17 17:51:36 -07:00
Debbie O'Brien
94f928600d
docs: add workers for ci (#23046) 2023-05-17 17:38:03 +02:00
Adrien Fichet
2e5ddd4361
docs: maxDiffPixelRatio example value should be between 0 and 1 (#23048) 2023-05-17 10:58:16 +02:00
Adrien Fichet
ae930910ad
docs: permissions example should be an array (#23052) 2023-05-17 10:55:39 +02:00
Pavel Feldman
04070a59e1
chore: remove expect.configure({poll}) (#23060) 2023-05-16 18:45:03 -07:00
Dmitry Gozman
fc2e0e76bd
feat(teardown): allow the same project to be a teardown for multiple (#23074) 2023-05-16 18:26:06 -07:00
Max Schmitt
89f1940509
chore: be able to hide webServer stderr (#23063)
Follow-up to https://github.com/microsoft/playwright/pull/22564.
2023-05-17 00:46:59 +02:00
Max Schmitt
137aaf0ea2
docs: update minimal OS versions (#23041)
https://support.google.com/chrome/a/answer/7100626?hl=en
2023-05-16 08:58:41 -07:00
Sam Adams
5fe0a2f5ab
docs(test-configuration): fix testConfig.testMatch markdown escaping (#23044) 2023-05-16 14:00:25 +02:00
Debbie O'Brien
d2ea6588d7
docs(best-practises): improve soft assertions (#22909)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-15 20:08:26 +02:00
Dmitry Leonov
aef7a2817d
docs: fix function name mismatch in python route example (#23010) 2023-05-14 16:52:11 +02:00
John Gachihi
4664156511
docs(auth): minor update to add cross link reference (#22991)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-14 16:33:03 +02:00
Pavel Feldman
c9d5b05440
docs: document subdomain cookie matching (#23007)
Fixes https://github.com/microsoft/playwright/issues/22977
2023-05-12 19:15:51 -07:00
Dmitry Gozman
44a934c160
feat(test runner): support .cjs and .cts files (#22971)
Fixes #22579.
2023-05-11 15:41:50 -07:00
Pavel Feldman
e41b21dc7b
chore: update navigation and timers docs (#22941) 2023-05-11 09:56:48 -07:00
Max Schmitt
a2bfbd9a0f
docs: rework CI guide (#22957)
Fixes https://github.com/microsoft/playwright/issues/22951
2023-05-11 17:52:51 +02:00
Debbie O'Brien
759d14b881
docs: add titles for remaining examples (#22939)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-10 23:30:51 +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
Ruben
f9eeaa2b75
docs: update import in code example (#22591) 2023-05-10 15:18:20 +02:00