Debbie O'Brien
a18475eaab
docs: add release video to notes ( #23880 )
2023-06-23 20:04:59 +02:00
Max Schmitt
a658c4fd05
docs: discourage from caching browsers ( #23814 )
...
As per https://github.com/epicweb-dev/epic-stack/pull/204 and
https://twitter.com/kentcdodds/status/1670857818604474368 .
2023-06-21 14:04:15 +02:00
awatson-scottlogic
3777fc8b0f
docs(class-testoptions): fix launchOptions snippet ( #23831 )
2023-06-21 14:03:26 +02:00
Max Schmitt
ba9666bb0c
docs(intro): Python drop 3.7 support ( #23748 )
...
Python 3.7 is EOL with our next release, so we can drop it.
https://github.com/microsoft/playwright-python/pull/1980
Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-06-16 21:50:29 +02:00
Yury Semikhatsky
fd49940d2b
docs: add missing expect import ( #23737 )
...
Fixes #23736
2023-06-15 11:10:03 -07:00
Max Schmitt
e5b07d662c
docs(dotnet): add note about using assertions with library ( #23642 )
...
Common question.
2023-06-13 09:04:13 -07:00
Max Schmitt
460e7fcfa2
chore: fix language port 1.35 release notes ( #23674 )
2023-06-13 09:03:50 -07:00
Yury Semikhatsky
ea7e9822aa
docs: release notes for ports ( #23670 )
2023-06-12 17:18:15 -07:00
Debbie O'Brien
0560a73ce9
docs: improve by adding teardown and examples ( #23470 )
2023-06-09 17:57:38 +02:00
bmaupin
c242dfac4c
docs: Make auth.setup.ts location clearer ( #23572 )
...
In the documentation, the directories of the other files are clearly
listed, making it clear where they should go, e.g.
- `playwright/fixtures.ts`
- `tests/example.spec.ts`
This applies the same principal to auth.setup.ts.
2023-06-08 21:38:54 -07:00
Andrey Lushnikov
b92dc47665
docs: fix images for release notes ( #23606 )
...
The previous were uploaded to a private repository artifacts and
were not accessible for a general public.
2023-06-08 15:10:41 -07:00
Max Schmitt
42ad9e71cb
docs: enhance UI mode docs ( #23582 )
...
Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-06-08 21:33:07 +02:00
Dmitriy Dudkevich
187cfdc328
feat: ability to pass additional headers to selenium ( #23348 )
2023-06-08 10:41:36 -07:00
Kun Fan
d279a8c242
docs(emulation): add a missing closing bracket ( #23575 )
2023-06-07 22:53:42 +02:00
Andrey Lushnikov
e0c4576e29
docs: add a note about CodeSpaces UI mode ( #23580 )
2023-06-07 12:41:36 -07:00
Andrey Lushnikov
eda109388e
docs: js release notes 1.35 ( #23560 )
...
Signed-off-by: Andrey Lushnikov <aslushnikov@gmail.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-06-07 11:05:05 -07:00
Andrey Lushnikov
0f4090472c
feat: add maskColor
option to the toHaveScreenshot
method ( #23555 )
2023-06-06 17:15:55 -07:00
Pavel Feldman
1cd8f7543b
docs: fix the transpiler docs ( #23550 )
2023-06-06 16:16:06 -07:00
Max Schmitt
85be65b07b
chore: update npx playwright uninstall docs ( #23552 )
2023-06-06 22:09:15 +02:00
Max Schmitt
aab322f2a1
docs(best-practises): recommend no-floating-promises ( #23487 )
...
https://github.com/microsoft/playwright/issues/23339
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
2023-06-06 20:45:46 +02:00
Debbie O'Brien
5e0195f7c4
docs: Soft expect example + tobeAttached ( #23475 )
2023-06-06 20:06:55 +02:00
Debbie O'Brien
dfd1518327
docs: explain attachments in ui mode ( #23472 )
2023-06-06 16:30:29 +02:00
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",
})
```

---------
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