Debbie O'Brien
93b791d322
docs: update trace viewer video ( #20925 )
2023-02-16 17:10:56 +01:00
Dmitry Gozman
e77e2d8c7f
chore: mark 1.32.0-next ( #20929 )
2023-02-15 16:15:42 -08:00
Yury Semikhatsky
90c4e6f9b2
chore: revert sharded html report ( #20923 )
...
We've decided not to ship it in the current form.
#10437
2023-02-15 12:38:03 -08:00
IlinAlekseyS
5899348936
fix(best-practices): delete dublicate sentence ( #20885 )
2023-02-15 20:03:56 +01:00
Dmitry Gozman
42c606e181
docs: improve authentication guide ( #20882 )
2023-02-14 11:34:28 -08:00
Debbie O'Brien
b90b18daf3
docs: change videos to use new youtube component ( #20899 )
2023-02-14 17:09:53 +01:00
Andrey Lushnikov
72942e81d5
chore: fixes to toBeInViewport ( #20870 )
2023-02-13 15:21:40 -08:00
Andrey Lushnikov
fdcd7b549d
chore: mark comparator
option back as experimental ( #20816 )
...
This reverts commit 303c5998f8b747e94ac80e2e02c53b47ded11322.
Reason for revert: I tried enabling `ssim-cie94` by default on
ionic-framework test suite, and it proves to be overly strict for their
usecase.
2023-02-13 11:11:44 -08:00
Debbie O'Brien
ecc2e4aa57
docs: add videos for vscode guide ( #20865 )
2023-02-13 19:43:05 +01:00
Dmitry Gozman
77b598110f
fix(docs): inline java, js and csharp overrides ( #20833 )
...
This fixes the order of arguments as well as many incorrect arguments
around `WaitFor()` methods.
2023-02-10 15:14:28 -08:00
Andrey Lushnikov
68e170ef89
feat: implement expect(locator).toBeInViewport() ( #20668 )
...
The method accepts a `ratio` option to assert the ratio
of the element in viewport. `ratio` defaults to `Number.MIN_VALUE`.
NOTE: this reverts commit d950f5b6ee3fee4b825831983d5af5b197bda769 and
adds `ratio` option support + does the rename.
Fixes #8740
2023-02-10 04:33:22 -08:00
Dmitry Gozman
56276184ae
chore: inline docs from python.md ( #20792 )
...
These are currently messed up, with non-python options all over the
place.
2023-02-09 18:24:32 -08:00
Sander
aaafd37e24
docs(ct): improve pinia instructions ( #20644 )
2023-02-09 08:59:11 -08:00
Dmitry Gozman
59121a3c37
chore: remove unnecessary extra options from docs ( #20785 )
...
Python-only methods should not reference js-only options.
2023-02-09 08:57:44 -08:00
Yury Semikhatsky
a93cf767a1
feat: html reporter sharded option ( #20737 )
...
Make sharded report feature an opt-in:
```ts
{
reporter: [['html', { sharded: true }]]
};
```
#10437
2023-02-07 22:21:50 -08:00
Andrey Lushnikov
303c5998f8
feat: release "comparator" option from experiment ( #20720 )
...
The option defines a comparator to be used to compare images.
Possible values are `"pixelmatch"` and `"ssim-cie94"`.
Note: This reverts commit 8167f8bf548308ad8c6f1188508aadee84f26023.
2023-02-07 08:51:48 -08:00
Dmitry Gozman
33a05446d2
fix(expect): update docs to point to GenericAssertions instead of expect library ( #20688 )
...
Closes #20432 .
2023-02-06 14:51:24 -08:00
Yury Semikhatsky
86dd29a15e
docs: custom selectors registration ( #20687 )
...
https://github.com/microsoft/playwright/issues/20424
2023-02-06 13:32:00 -08:00
Abe Hanoka
618bec0107
docs(downloads): add missing await to python-async snippet ( #20663 )
...
fixes #20662
---------
Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-02-06 14:26:48 +01:00
Boris Osipov
494497abbf
docs(chrome-extensions) update headless testing docs ( #20643 )
...
Update the documentation according to changes
https://bugs.chromium.org/p/chromium/issues/detail?id=1380881
2023-02-06 10:31:05 +01:00
Takuto Yuki
9787de92f3
docs(test-advanced): fix import config example ( #20635 )
...
https://playwright.dev/docs/test-advanced#same-tests-different-configuration
Missing include in config.ts file. add import `devices`.
Signed-off-by: Takuto Yuki <ppppp303@gmail.com>
2023-02-06 10:29:24 +01:00
Yury Semikhatsky
758246bb9e
docs: improve auth guide ( #20602 )
2023-02-03 16:51:44 -08:00
Max Schmitt
df6f500730
docs: mention use-case for the Docker image ( #20621 )
...
Fixes
https://github.com/microsoft/playwright/issues/20589#issuecomment-1416263856
2023-02-03 14:03:55 -08:00
Sander
adab7a817e
docs(ct): hooks and formatting ( #20593 )
2023-02-03 08:56:55 -08:00
Dmitry Gozman
f46883e58e
feat(expect): add GenericAssertions documentation ( #20564 )
...
References #20432 .
2023-02-01 16:55:52 -08:00
Dmitry Gozman
6f699cd346
docs: clarify headers propagation to redirects ( #20572 )
...
References #20501 .
2023-02-01 16:55:03 -08:00
Pavel Feldman
421dd884a7
chore: implement --no-deps ( #20569 )
2023-02-01 16:32:13 -08:00
Pavel Feldman
cb9ace6035
chore(test): move run options into config ( #20568 )
2023-02-01 15:25:26 -08:00
Dmitry Gozman
6ad4687f4d
feat(route): add maxRedirects option to Route.fetch ( #20567 )
...
References #20501 .
2023-02-01 14:43:21 -08:00
Pavel Feldman
635b47025e
chore: expose project dependencies api ( #20546 )
2023-02-01 08:39:07 -08:00
Yury Semikhatsky
0d0968076e
docs: update .net console example comments ( #20503 )
...
https://github.com/microsoft/playwright-java/issues/1168
2023-01-30 09:10:22 -08:00
chimurai
f72d400952
chore: fix typos ( #20473 )
2023-01-30 09:53:28 +01:00
Adi
32724cd5ce
docs: Added types to custom reporter typescript example ( #20191 )
2023-01-28 09:38:42 -08:00
Pob Ch
7cb1b2db39
docs(getting-started): fix typo ( #20468 )
...
Signed-off-by: Pob Ch <590650@gmail.com>
2023-01-28 12:02:53 +01:00
Yury Semikhatsky
532ca3f7b3
fix: throw on tap when hasTouch=false ( #20457 )
...
Fixes #20430
2023-01-27 15:51:57 -08:00
Sander
76cb09675a
docs(ct): pnpm install ( #19841 )
2023-01-27 14:33:20 -08:00
Pavel Feldman
841ac6ecb3
docs: remove third party js runners doc ( #20405 )
...
Fixes: https://github.com/microsoft/playwright/issues/20390
We are doing such a bad job documenting these third party approaches
that they bring more harm than benefit. We should let respective
integration owners own the documentation and link to it. I'll remove it
altogether for now.
2023-01-26 10:05:11 -08:00
Jeremy Hutchinson
bc134551fb
docs(dotnet): add support for CDPSession ( #20053 )
...
Implemented in https://github.com/microsoft/playwright-dotnet/pull/2448
Signed-off-by: Jeremy Hutchinson <jrhutch@live.com>
Co-authored-by: Jeremy Hutchinson <jehutchi@microsoft.com>
Co-authored-by: Max Schmitt <max@schmitt.mx>
2023-01-26 11:49:10 +01:00
Pavel Feldman
5761a62b1c
docs: clarify the null value for the viewport ( #20333 )
...
Fixes https://github.com/microsoft/playwright/issues/20284
2023-01-25 17:48:18 -08:00
Pavel Feldman
fe1dd7818d
chore: extract task runner for global setup ( #20345 )
2023-01-25 15:38:23 -08:00
chamu228
112c7bda45
docs(java): fix Java doc of playwright create method ( #20356 )
2023-01-25 09:51:16 +01:00
Pavel Feldman
147bb6b292
chore: run global setup before onBegin ( #20285 )
2023-01-23 17:44:23 -08:00
Rob Donnelly
ba0189f8d7
docs(test-parameterize): fix typos ( #20178 )
2023-01-23 09:28:22 -08:00
Harikrishna
953f96b493
docs: fix the typo error for 'Dragging manually' Java example ( #20275 )
2023-01-23 10:55:00 +01:00
Dmitry Gozman
0cc0d168cd
chore: mark 1.31-next ( #20268 )
2023-01-20 19:29:14 -08:00
Dmitry Gozman
8d646d1adb
chore: release notes for 1.30 ( #20264 )
2023-01-20 12:56:48 -08:00
Dmitry Gozman
d950f5b6ee
chore: remove toIntersectViewport for the next release ( #20232 )
...
Mostly reverts #19901 .
2023-01-19 15:04:09 -08:00
Andrey Lushnikov
1b8b20dc25
chore: drop locator.viewportRatio()
method ( #20131 )
...
As per API review discussion, we'd like to refrain from
exposing this method.
2023-01-19 08:46:45 -08:00
Max Schmitt
bddc120bd2
docs: delete showcase.md ( #20222 )
...
It was never linked from the sidebar and contains a lot of unmaintained
projects.
2023-01-19 14:09:32 +01:00
Pavel Feldman
e08168e16e
chore: temporarily remove project and global setup, store ( #20181 )
2023-01-18 12:56:03 -08:00