Commit Graph

1790 Commits

Author SHA1 Message Date
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
Dmitry Gozman
cd49f5c466
feat(typescript): align with --moduleResolution=bundler (#22887)
This relaxes import requirements and allows importing `.ts` files
without an extension in CJS and ESM modes.

Fixes #22169.
2023-05-09 16:26:29 -07:00
Kevin Brotcke
852f1d7881
docs: add examples to run intersection or combination of tags (#22913) 2023-05-09 14:52:48 -07:00
Max Schmitt
7c76258972
docs: add missing POM classes to fixture guide (#22902) 2023-05-09 23:28:11 +02:00
Pavel Feldman
2ead6e530f
docs: remove the networkidle mentions (#22906)
Fixes https://github.com/microsoft/playwright/issues/22897
2023-05-09 09:34:57 -07:00
richthornton
c6b972983a
docs: add currents test reporter (#22797) 2023-05-08 19:00:54 -07:00
Mahtab Nejad
d4ac75bcb6
docs: fixed typo in test-parallel-js.md (#22817) 2023-05-08 19:00:24 -07:00
Ricardo Melo Joia
1f209204cd
docs(ci): updated language ports container images (#22852)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-05-08 12:58:38 +02:00
Dmitry Gozman
160888df99
feat(locators): reland locator.and(locator) (#22850)
Removed in #22223.
Fixes #22585.
2023-05-05 11:14:01 -07:00
Dmitry Gozman
236c329ea9
feat: browserContext.on('dialog'/'console') (#22805)
Relanding #22033 and #21943.
2023-05-04 15:11:46 -07:00
Max Schmitt
6968b61fdc
docs: fix release notes snippets (#22778) 2023-05-03 14:53:27 +02:00
Yury Semikhatsky
5e02022dff
docs: set docker version to 1.33 in release notes (#22765) 2023-05-02 13:46:03 -07:00
Yury Semikhatsky
b771a24f2c
docs: release notes for language ports (#22762) 2023-05-02 11:07:33 -07:00
Pavel Feldman
297fea0826
chore: purify the junit reporter (#22624) 2023-05-01 09:15:08 -07:00
Dmitry Gozman
dbb218a9d5
feat: project.teardown that runs after all dependents have finished (#22696)
This replicates globalTeardown in the deps world.

Fixes #21914.
2023-04-28 14:27:08 -07:00
Doug Harris
bbf8d33113
docs(test-runners): improve slowmo param for python (#22669) 2023-04-27 10:38:57 +02:00
Max Schmitt
7b27d70d8a
feat(web-server): add stdout: "pipe"|"ignore" option (#22564)
Fixes https://github.com/microsoft/playwright/issues/22454
2023-04-26 23:39:42 +02:00