Commit Graph

1645 Commits

Author SHA1 Message Date
Debbie O'Brien
e10199fd5a
docs: retries update to add configuration (#21338) 2023-03-02 08:33:30 -08:00
Pavel Feldman
2cbafd7adf
chore: mark waitForNavigation as deprecated consistently (#21309) 2023-03-01 12:40:50 -08:00
Debbie O'Brien
9b78b7151e
docs: improve running tests (#21266) 2023-02-28 20:58:24 +01:00
Debbie O'Brien
d0d1d144f1
docs: Browsers page rework (#21051) 2023-02-28 18:09:44 +01:00
Everton Eckert Schneider
cb5a4845b3
docs: delete the URI /wd/hub Selenium Grid addresses. (#20971)
Selenium 4 does not use `/wd/hub` as part of the Hub URI.

As seen in the example
https://www.selenium.dev/documentation/grid/getting_started/#metadata-in-tests,
it registers the Selenium Grid URL simply as `http://gridUrl:4444` (no
`/wd/hub`).

When trying to access the URL ending with `/wd/hub`, it returns the
message 'Unable to find handler for (GET) \u002fwd\u002fhub'.

Signed-off-by: Everton Eckert Schneider <everton.schneider@gmail.com>
2023-02-27 19:47:19 -08:00
NoamGaash
e17e0e40f8
feat(routeFromHAR): add arguments (#21223) 2023-02-27 15:27:38 -08:00
Joel Einbinder
eba86fcc53
fix(doc): electron evaluate evaluates in electron not worker (#20892) 2023-02-27 12:49:25 -08:00
Gonçalo Basto
7c6630b1a2
docs: add custom reporter options documentation (#21144) 2023-02-24 12:29:08 +01:00
Max Schmitt
78bc6f4d74
docs(python): add support for custom expect message (#21151)
https://github.com/microsoft/playwright-python/issues/1310
2023-02-23 13:25:00 +01:00
Yury Semikhatsky
a81ce3f13d
docs(auth): wait for the response with cookies (#21114)
Fixes #21096
2023-02-22 14:02:27 -08:00
Max Schmitt
41d8f27d8f
docs: do not mention DockerHub anymore (#21101)
Fixes https://github.com/microsoft/playwright/issues/21095
2023-02-22 17:52:42 +01:00
Debbie O'Brien
135e9f8281
docs: add project info to running tests (#20995) 2023-02-22 09:47:19 +01:00
Max Schmitt
1432c406ad
docs: fix toMatch code snippet typo (#21077)
Fixes https://github.com/microsoft/playwright/issues/21014
2023-02-22 00:38:30 +01:00
Max Schmitt
d0308d1924
docs: fix double code snippets (#21027)
Fixes https://github.com/microsoft/playwright/pull/20908
2023-02-20 18:13:01 +01:00
Dmitry Gozman
4c68829e39
docs: update auth docs to remove cross-run caching (#21008) 2023-02-18 09:15:16 -08:00
Dmitry Gozman
5483006499
chore: update release notes for 1.31 (#20997) 2023-02-17 14:25:57 -08:00
Debbie O'Brien
d96d3c3381
docs: fix release notes (#20994) 2023-02-17 20:03:22 +01:00
Debbie O'Brien
c0d9aa2c49
docs: new screenshots for langs (#20149) 2023-02-17 19:16:49 +01:00
Dmitry Gozman
6fbb265a58
chore: release notes for 1.31 for java, python, csharp (#20969) 2023-02-16 18:11:01 -08:00
Yury Semikhatsky
ba6d055bc5
docs: Route.fetch.maxRedirects in java (#20968) 2023-02-16 17:02:12 -08:00
Yury Semikhatsky
09be9d6425
feat: key value store backed by filesystem (#20932)
Keys are used as a relative file path without any sanitization assuming
that the underlying fs will throw on error.
2023-02-16 16:48:28 -08:00
Yury Semikhatsky
eadcab6b9f
fix(docs): move callback of Worker.waitForClose to the end of param list (#20966) 2023-02-16 15:32:12 -08:00
Debbie O'Brien
e444632dec
Improve debug doc (#20924) 2023-02-16 21:05:44 +01:00
Dmitry Gozman
0b7f9055a3
chore: fix docs for python and java (#20962) 2023-02-16 11:48:38 -08:00
Dmitry Gozman
ffc2477a00
chore: 1.31 release notes for js (#20933) 2023-02-16 09:35:01 -08:00
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 303c5998f8.

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 d950f5b6ee 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 8167f8bf54.
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