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
Max Schmitt
2aeebc82d7
docs(test-parameterize): defineConfig is no type import ( #21523 )
...
https://github.com/microsoft/playwright/issues/21519
2023-03-09 16:19:56 +01:00
Max Schmitt
c9eac69f2b
fix(types): accept string in expect().toMatch() ( #21454 )
...
Fixes https://github.com/microsoft/playwright/issues/21453
2023-03-07 17:53:50 +01:00
Max Schmitt
68b351c603
docs(browsers): code snippet follow-ups ( #21383 )
...
Follow-up on
https://github.com/microsoft/playwright/pull/21051?notification_referrer_id=NT_kwDOARJsJbM1NjYxMzQ2ODgxOjE3OTg0NTQ5#event-8629388219 .
2023-03-07 17:53:12 +01:00
Debbie O'Brien
2067d715ff
docs: screens codegen emulation ( #21094 )
2023-03-07 08:58:49 +01:00
Debbie O'Brien
135d68d8a9
docs: add video to release notes ( #21441 )
2023-03-07 08:57:36 +01:00
Debbie O'Brien
e22c048276
docs: Config page name updates ( #21440 )
2023-03-07 08:57:13 +01:00
Adi
bdefaa9f9e
docs: added missing generic declaration ( #21442 )
2023-03-06 22:03:43 +01:00
Debbie O'Brien
7c44eab644
docs: add dependencies to global setup ( #21438 )
2023-03-06 21:04:04 +01:00
Debbie O'Brien
f6095f6a5e
docs: fix title cases ( #21439 )
2023-03-06 20:52:58 +01:00
Debbie O'Brien
9e47c450c7
docs: Rework config ( #21384 )
2023-03-06 17:17:34 +01:00
Debbie O'Brien
948755226f
docs: add projects page ( #21332 )
2023-03-06 16:46:55 +01:00
Debbie O'Brien
e305d207fe
docs: merge emulation config ( #21340 )
2023-03-06 16:43:32 +01:00
Debbie O'Brien
6d549320b1
docs: add doc on webserver ( #21378 )
2023-03-06 16:42:54 +01:00
Debbie O'Brien
b6765862f1
docs: add network example from advanced config ( #21380 )
2023-03-06 16:42:19 +01:00
Dmitry Gozman
0c5d46bb94
feat: allow chaining locators with Locator.locator(anotherLocator) ( #21391 )
2023-03-03 14:50:53 -08:00