1713 Commits

Author SHA1 Message Date
Rob Bayliss
966f2392a0
docs(test-configuration): fix missing reference to devices in snippet (#22162) 2023-04-04 15:43:51 +02:00
Max Schmitt
590013e27b
docs(python): fix WebSocket types (#22155)
Fixes https://github.com/microsoft/playwright-python/issues/1841
2023-04-03 13:21:33 -07:00
Pavel Feldman
ee39af260d
chore: discourage waitForSelector (#22133) 2023-03-31 20:24:08 -07:00
Andrey Lushnikov
5223c1ba39
feat: add timeout to electron.firstWindow() method (#21863)
Fixes https://github.com/microsoft/playwright/issues/21846
2023-03-31 15:35:54 -07:00
MarcNum
fbdafc5fe3
feat: Adding trace option 'on-all-retries' (#21985)
Fixes: #21860
2023-03-31 13:04:24 -07:00
Yury Semikhatsky
e86b0cf0ce
docs: discourage test lists (#22125)
Fixes https://github.com/microsoft/playwright/issues/22109
2023-03-31 11:10:13 -07:00
Debbie O'Brien
a567cf083f
docs: remove cli guide (#21997) 2023-03-31 10:48:05 +02:00
Dmitry Gozman
539d9873c2
feat: rename Locator.filter(locator) to Locator.and (#22101) 2023-03-30 14:41:30 -07:00
Yury Semikhatsky
ebcb37f61e
docs: add warning about browser policy (#22103)
Fixes https://github.com/microsoft/playwright/issues/22016
2023-03-30 13:09:57 -07:00
Dmitry Gozman
e6148bb725
feat: Locator.not(locator) (#22066) 2023-03-30 08:52:30 -07:00
Debbie O'Brien
870abae9a1
docs: remove debug selectors (#22027) 2023-03-30 15:20:28 +02:00
Debbie O'Brien
2c9d65b5ed
docs: change port to url (#22029) 2023-03-30 15:18:59 +02:00
Max Schmitt
0c4eedbabe
docs: support code block titles (#22068)
Fixes https://github.com/microsoft/playwright/issues/21461
2023-03-29 23:15:39 +02:00
Yury Semikhatsky
026e49b076
chore: add snippet to the error message (#21991) 2023-03-29 14:07:14 -07:00
Dmitry Gozman
6929214dbf
feat(expect): expect(locator).toBeAttached() (#22067)
Fixes #13467.
2023-03-29 11:09:17 -07:00
Dmitry Gozman
3b359e27b7
feat: BrowserContext.on('dialog') (#22033)
Dialogs created early during page initialization are only reported on
the context, with `page()` being `null`.
2023-03-28 13:15:55 -07:00
Dmitry Gozman
00d98770ee
docs: improve "Parent element locator" section (#22040)
Recommending `Locator.filter`, with a fallback to `xpath=..`
2023-03-28 13:15:25 -07:00
Dmitry Gozman
f502c72f2b
feat: browserContext.on('console') (#21943) 2023-03-27 16:35:05 -07:00
Dmitry Gozman
525097d465
feat: Locator.filter(locator) (#21975)
Produces a locator that matches both locators.
Implemented through `internal:and` selector.

Fixes #19551.
2023-03-27 14:29:30 -07:00
Dmitry Gozman
47e5c02a21
fix(test runner): update default testMatch (#22006)
The intent of default test match is allowing `example.spec.ts` and
`example.test.ts` files. However, it was also matching `test.example.ts`
that should not be considered a test by default.

Fixes #21979.
2023-03-27 14:28:44 -07:00
Sébastien Richert
591e4ea976
feat: Restrain sending http credentials on a specific origin (#20374)
For security purpose, we would like to restrain sending HTTP credentials
to only the specified server. The idea is to give the ability to specify
a origin (scheme://host:port) additionally to current pair
username/password. When an authorization response is received from
servers, the credentials are sent only if the server origin in the
request matches case insensitive the specified origin.
2023-03-27 08:52:00 -07:00
Tim Deschryver
45faf0cd80
docs: add --ui to CLI options (#21966) 2023-03-24 15:19:02 -07:00
Andrey Lushnikov
97d2c4a635
doc: add missing commas in code snippets (#21965)
Fixes https://github.com/microsoft/playwright/issues/21957
2023-03-24 13:42:12 -07:00
LongLiveY96
0293c26212
docs(locators): fixed a descriptive error about Chaining Locators (#21902) 2023-03-24 15:03:48 +01:00
Faisal Salman
086dec364b
docs(java): fix syntax error in Java example of JSHandle.getProperties (#21901) 2023-03-23 08:19:17 -07:00
Dmitry Gozman
d10fac4f6a
feat: Locator.or(locator) (#21884) 2023-03-22 15:28:59 -07:00
Andrey Lushnikov
65da1d2835
docs: do not use HTML tags (#21889) 2023-03-22 13:29:14 -07:00
Andrey Lushnikov
6bd002db27
docs: add release notes for js (#21886) 2023-03-22 13:05:46 -07:00
Debbie O'Brien
93d20ffb52
docs: add images to dependencies (#21757) 2023-03-20 15:30:48 +01:00
Andrey Lushnikov
32d33cb8d5
chore: cut 1.32 (#21773) 2023-03-17 19:36:43 -07:00
Yury Semikhatsky
a61b544932
docs(java): add waitForCondition method (#21768)
https://github.com/microsoft/playwright-java/issues/1228
2023-03-17 13:02:59 -07:00
Dmitry Gozman
f484b833ae
docs: update getByLabel docs to mention aria attributes (#21765)
References #21624.
2023-03-17 12:48:07 -07:00
Yury Semikhatsky
95e7d3aabc
chore: hide store from public (#21763) 2023-03-17 11:50:44 -07:00
Dmitry Gozman
3a80d119e0
chore: update routeFromHAR options for release (#21764) 2023-03-17 11:49:45 -07:00
Max Schmitt
4a66cca124
docs(dotnet): remove note that there is no .NET Jammy Docker image (#21752)
Fixes https://github.com/microsoft/playwright-dotnet/issues/2515

Signed-off-by: Max Schmitt <max@schmitt.mx>
2023-03-17 16:14:35 +01:00
Debbie O'Brien
461723912f
docs: add missing option and change to table (#21711) 2023-03-17 07:50:50 +01:00
Max Schmitt
771abe15fb
docs(node): consolidate JS/TS snippets for guides (#21710)
https://github.com/microsoft/playwright/issues/21385
2023-03-16 21:16:18 +01:00
Dmitry Gozman
2074a51299
docs: fix details about WorkerInfo vs TestInfo availability (#21699)
Fixes #21695.
2023-03-16 12:36:34 -07:00
Max Schmitt
3ceac4bf53
docs: drop duplicate JS code snippets from test-api (#21466)
https://github.com/microsoft/playwright/issues/21385
2023-03-16 19:01:15 +01:00
Max Schmitt
6c75c01fde
docs(dotnet): don't use C# option names (#21709)
Fixes https://github.com/microsoft/playwright-dotnet/issues/2513

Drive-by: hide C# option names
2023-03-16 09:23:31 -07:00
Dmitry Gozman
40a6eff8f2
feat: support name option in tracing.startChunk() (#21692) 2023-03-15 17:34:56 -07:00
Dmitry Gozman
69a94ed044
docs: update default timeouts in js to be zero and mention config (#21675)
Fixes #19018.
2023-03-14 16:34:30 -07:00
Pavel Feldman
27048adebe
chore: introduce testInfo.testId (#21670) 2023-03-14 15:58:55 -07:00
Jonatas Emidio
910b963ca6
docs: Avoid third-party with Network API (#21629)
docs: Avoid third-party with Network API

On the [Avoid testing third-party
dependencies](https://playwright.dev/docs/best-practices#avoid-testing-third-party-dependencies).
Instead of only inform about third-party, this sesison is a good place
to share about Network API. Guiding them in not only inform about
avoiding third-party, but also explaining how to deal with this use
case.

Signed-off-by: Jonatas Emidio <jonatasemidio@gmail.com>
2023-03-14 11:40:03 -07:00
Drew Miller
d8b6b988cd
docs: spelling fix (#21573) 2023-03-14 19:04:02 +01:00
Max Schmitt
ba6b41d017
docs(locator): fix Locator frameLocator params (#21662) 2023-03-14 17:15:43 +01:00
Dmitry Gozman
c9837dfcc7
docs: add flakiness note to locator.all (#21645) 2023-03-13 19:33:36 -07:00
Debbie O'Brien
c9007d952b
docs: remove youtube video for other langs (#21616) 2023-03-13 18:00:50 +01:00
Debbie O'Brien
0610705546
docs: add video to trace viewer docs (#21568) 2023-03-10 09:45:55 -08:00
Max Schmitt
7746807d9f
docs(api-testing): fix broken snippet (#21499)
Fixes https://github.com/microsoft/playwright/issues/21476
2023-03-09 16:20:19 +01:00