Yury Semikhatsky
0adf5536af
docs(fetch): clarify cookie handling ( #12892 )
2022-03-21 13:20:17 -07:00
Yury Semikhatsky
19de9cacc3
docs: delete verification guide ( #12698 )
2022-03-12 09:32:54 -08:00
Andrey Lushnikov
396d920145
feat(test-runner): implement expect(pageOrLocator).toHaveScreenshot ( #12242 )
...
Fixes #9938
2022-02-28 12:25:59 -08:00
Max Schmitt
52932172e7
docs(python): fix set_viewport_size in emulation.md ( #12271 )
2022-02-22 20:15:46 +01:00
Andrey Lushnikov
3c88d4126c
docs: move common screenshot options to params.md ( #12008 )
2022-02-10 12:31:17 -08:00
Andrey Lushnikov
6f87955243
feat: introduce disableAnimations option for screenshots ( #11870 )
...
This option stops all kinds of CSS animations while doing screenshot:
- CSS animations
- CSS transitions
- Web Animations
Animations get different treatment depending on animation duration:
- finite animations are fast-forwarded to its end, issuing the
`transitionend` event.
- Infinite animations are resetted to its beginning, and then
resumed after the screenshot.
References #9938 , fixes #11912
2022-02-09 12:52:11 -08:00
Pavel Feldman
3a898c285e
docs: fix python snippet
2022-02-08 08:02:28 -08:00
Leonardo Henrique Tsuda
7dc2dce709
fix response status assertion on python example ( #11723 )
2022-01-28 11:50:14 -08:00
Dmitry Gozman
73fed66896
docs: add comments to Promise.all snippets with explanation ( #11379 )
...
Drive-by: more locators.
2022-01-13 10:38:22 -08:00
Pavel Feldman
04e82ce71c
feat(api): make withText an option ( #10922 )
2021-12-14 15:37:31 -08:00
Pavel Feldman
7765131a14
feat(acceptDownload): revert acceptDownload ( #10709 )
2021-12-06 09:25:24 -08:00
Yury Semikhatsky
565ac910e7
docs(api): expose request API in java ( #10331 )
2021-11-15 14:54:07 -08:00
browse
5d4ec1d512
docs(python): fix incorrect snippet syntax ( #10314 )
2021-11-15 11:20:46 +01:00
Pavel Feldman
1e38ec5fa4
docs(element-handle): discourage the element handle use ( #10220 )
2021-11-10 11:30:25 -08:00
Pavel Feldman
4553d76fce
api(frame-locator): introduce frame locators ( #10102 )
2021-11-08 09:58:24 -08:00
Darío Kondratiuk
498894280b
docs(page): Document Page.reload ( #9926 )
2021-11-01 18:27:03 +01:00
Dmitry Gozman
fac5da9517
docs: update console event snippet ( #9800 )
...
This avoids the confusion where arguments are printed
asynchronously, interleaved with other console messages.
2021-10-26 14:40:28 -07:00
Yury Semikhatsky
6d727401bf
chore(fetch): rename ApiRequest* to APIRequest* ( #9606 )
2021-10-19 07:38:27 -07:00
Yury Semikhatsky
909b039b9a
docs: note that setViewportSize changes screen size ( #9588 )
2021-10-18 13:01:04 -07:00
Pavel Feldman
e8fdbbfa03
api: alias Fetch as ApiRequest ( #9330 )
2021-10-05 18:53:19 -07:00
Yury Semikhatsky
701a97beca
chore(fetch): unprefix _request and _newRequest ( #9325 )
2021-10-05 13:56:34 -07:00
Anže Vodovnik
6723a42544
docs(dotnet): add Null for dotnet in forced colors enum ( #9051 )
2021-09-24 16:31:53 +02:00
Yury Semikhatsky
5141407c6b
fix(fetch): prefix request with underscore ( #8922 )
2021-09-14 12:56:09 -07:00
Pavel Feldman
64f9c3ba1d
feat(api): move fetch api into the namespace ( #8871 )
2021-09-13 12:43:07 -07:00
Yury Semikhatsky
b6180055df
feat(fetch): make fetch api public ( #8853 )
2021-09-10 18:36:55 -07:00
Pavel Feldman
6e97ac300c
Revert "docs: add waitForSelectorHidden ( #8632 )" ( #8781 )
2021-09-08 14:26:52 -07:00
Max Schmitt
25c8fc4229
docs: add waitForSelectorHidden ( #8632 )
2021-09-08 10:53:47 +02:00
Max Schmitt
e7d4d61442
feat: add forced-colors media query emulation ( #6903 )
2021-09-03 21:48:06 +02:00
Pavel Feldman
e574f4b7fd
feat(api): introduce setChecked convenience method ( #8525 )
2021-08-29 20:00:40 -07:00
Max Schmitt
8e20f13079
feat(routes): add support for the times option ( #8399 )
2021-08-24 20:45:50 +02:00
Max Schmitt
d52250f2c5
docs: add note about Service Workers and route ( #8401 )
2021-08-24 15:57:35 +02:00
Dmitry Gozman
827a909d36
docs: deprecate timeout option in isVisible/isHidden methods ( #8371 )
2021-08-23 12:32:06 -07:00
Yury Semikhatsky
851fe8d0bd
docs: use language-neutral references to page.goto ( #8320 )
2021-08-19 12:23:35 -07:00
Pavel Feldman
954de62502
docs: fix locators visibility confusion
2021-08-16 17:41:27 -07:00
Joel Einbinder
4fabe5e6e4
feat(drag): sourcePosition and targetPosition ( #7803 )
2021-08-03 13:12:34 -04:00
Fabian Mendez
731f9453c5
feat(inputValue): implement inputValue for select elements ( #7951 )
2021-08-03 08:22:40 -07:00
Pavel Feldman
0a6ae11da1
feat(strict): introduce strict mode ( #7851 )
2021-07-26 22:00:23 -07:00
Pavel Feldman
827fb80465
feat(locator): implement element locators ( #7808 )
2021-07-22 21:37:20 -07:00
Joel Einbinder
56ada374df
feat(dragAndDrop): page.dragAndDrop ( #6910 )
2021-07-19 12:42:55 -05:00
Dmitry Gozman
d1170b30fc
Revert "api: remove timeout option from isVisible and isHidden methods ( #7414 )" ( #7600 )
...
This reverts commit 9f71c96740 .
2021-07-14 10:46:00 +02:00
Max Schmitt
371aa3dab2
feat: add browser.newContext({ baseUrl }) ( #7409 )
2021-07-06 21:16:37 +02:00
Dmitry Gozman
9f71c96740
api: remove timeout option from isVisible and isHidden methods ( #7414 )
...
It is unused and confusing.
2021-07-01 13:30:16 -07:00
Pavel Feldman
e6bf0a07fe
feat(force): add fill, selectOption, selectText ({force}) ( #7286 )
2021-06-24 08:18:09 -07:00
Pavel Feldman
5732307280
feat(inputValue): implement *.inputValue() ( #7285 )
2021-06-23 22:19:20 -07:00
Max Schmitt
1be687e478
docs(dotnet): fixed broken screenshot example ( #7090 )
2021-06-14 15:39:58 +02:00
Pavel Feldman
d16afef75a
doc(tracing): add a trace viewer doc ( #6864 )
2021-06-03 08:08:05 -07:00
Ross Wollman
c8c849e164
docs(page): add TypeScript $eval type-hint notes ( #6693 )
2021-06-01 22:50:31 +02:00
Max Schmitt
c8c77e4df0
docs: use sha256 for exposeFunction everywhere ( #6805 )
2021-05-31 15:47:14 -07:00
Max Schmitt
47d4d473d0
docs: fixed wrong waitForRequestFinished description ( #6808 )
2021-05-31 18:54:20 +02:00
Pavel Feldman
250c51fd9f
docs: text nits (2)
2021-05-26 16:27:42 -07:00
Pavel Feldman
fb3c6e50d4
api(dotnet): remove whenall ( #6768 )
2021-05-26 15:50:42 -07:00
Pavel Feldman
bb0e196b15
api(dotnet): specialize waitForEvent ( #6761 )
2021-05-26 15:11:31 -07:00
Pavel Feldman
f7f08c9c02
api(dotnet): normalize enums, remove browser channel enum ( #6738 )
2021-05-25 14:33:27 -07:00
gboer
15bf6a0a1b
docs(class-page.md): Add additional clarification on requestFailed event ( #6724 )
2021-05-25 12:58:48 -07:00
Pavel Feldman
17553e253d
api(dotnet): hide reducedMotion from csharp until C# 1.11 release ( #6705 )
2021-05-22 07:58:02 -07:00
Pavel Feldman
f9357531f5
doc(dotnet): add a self-contained example ( #6702 )
2021-05-22 07:55:53 -07:00
Max Schmitt
ba29e99ace
feat: added reduced motion media query emulation ( #6646 )
2021-05-22 01:56:09 +02:00
Anže Vodovnik
c80e9fa58a
docs(dotnet): guides ( #6639 )
2021-05-19 19:53:12 -07:00
Pavel Feldman
fad77e2f78
docs(dotnet): udpate existing examples ( #6669 )
2021-05-19 17:19:25 -07:00
Pavel Feldman
ba637e6e41
chore: bring back dblclick alias ( #6667 )
2021-05-19 16:29:35 -07:00
Pavel Feldman
1f22673c29
api(dotnet): introduce RunAndWaitForAsync ( #6660 )
2021-05-19 15:49:44 -07:00
Pavel Feldman
7eca573eb4
api(dotnet): remove some overrides ( #6622 )
2021-05-17 20:10:32 -07:00
Pavel Feldman
fd1e62b8c5
docs(dotnet): examples for dialogs, fixes ( #6599 )
2021-05-15 14:02:07 -07:00
Darío Kondratiuk
52658cf507
chore(dotnet): revert opener async ( #6600 )
2021-05-15 13:43:45 -07:00
Pavel Feldman
b5884b95b7
docs(dotnet): examples for events, handles ( #6598 )
2021-05-15 11:57:20 -07:00
Darío Kondratiuk
8845484ac7
chore(dotnet): page.opener sync ( #6579 )
2021-05-14 07:49:37 -07:00
Pavel Feldman
6a39b86640
chore: GoToAsync -> GotoAsync ( #6563 )
2021-05-13 11:57:02 -07:00
Anže Vodovnik
ddfbffa111
docs(dotnet): Page examples ( #6556 )
2021-05-13 10:19:47 -07:00
Darío Kondratiuk
0d3d2d3384
chore(dotet): fix goto casing ( #6529 )
2021-05-12 08:09:04 -07:00
Max Schmitt
8af8b6340d
docs: add ref to waitForSelector from querySelector ( #6514 )
2021-05-12 08:07:49 +02:00
Darío Kondratiuk
9e36f5cc26
docs(consoleMessage): add missing console message comments ( #6320 )
...
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-05-05 13:18:07 -07:00
Dmitry Gozman
14ebcfdf0b
docs: update fill/selectOption docs to mention label retargeting ( #6406 )
2021-05-04 13:08:38 -07:00
Thomas Wang
af92565bc7
Update class-page example code ( #6379 )
2021-04-30 21:39:10 -07:00
Darío Kondratiuk
9da718d6d5
docs: change the position argument location in check functions ( #6191 )
2021-04-29 21:23:03 -07:00
Darío Kondratiuk
dec973611c
docs(page): add missing docs on emulateMedia ( #6322 )
2021-04-29 21:08:30 -07:00
Dmitry Gozman
ce0331038b
docs: add route example with some logic ( #6324 )
2021-04-26 08:46:17 -07:00
Dmitry Gozman
ff147b0007
docs: update waitForRequest/Response snippets ( #6294 )
2021-04-23 08:53:25 -07:00
Dmitry Gozman
6bdc67ac6a
feat(actions): trial option that only performs the checks ( #6246 )
...
Available for check, click, dblclick, hover, tap, uncheck.
2021-04-21 12:22:19 -07:00
Dmitry Gozman
243ede5dfb
feat(waitForEvent): allow async predicate ( #6201 )
...
We await the predicate now. For synchronous predicates,
nothing should change becase the await will finish before
the next protocol message arrives (thanks to `makeWaitForNextTask`).
2021-04-19 10:32:51 -07:00
Dmitry Gozman
e81a3c5901
api: add option position to check/uncheck ( #6153 )
...
Since check/uncheck does click under the hood, sometimes it might
need to click at a different position. One example would be a long
label that contains links inside, and clicking in the center happens
to hit the link instead of the label itself.
2021-04-12 12:41:25 -07:00
Darío Kondratiuk
c4c9809f85
docs: move waitUntil doc before timeout ( #6138 )
2021-04-12 09:18:18 -07:00
Darío Kondratiuk
cd2490424e
chore(dotnet): waitForCloseAsync ( #6184 )
2021-04-12 09:11:29 -07:00
Darío Kondratiuk
610d1fd456
docs: fix typo on waitForConsoleMessage ( #6183 )
2021-04-12 09:10:05 -07:00
Dmitry Gozman
db09275d89
docs: reject -> throw, fix small typos ( #6152 )
2021-04-08 16:42:45 -07:00
Darío Kondratiuk
ee396421ea
chore(dotnet): alias for dblclick in C# ( #5899 )
2021-04-06 11:49:46 +02:00
Pavel Feldman
a7630c91d5
api: remove Chromium* classes ( #6040 )
2021-04-01 18:47:14 -07:00
Max Schmitt
26f9e29623
docs(route): add note about unroute ( #6019 )
2021-03-31 09:23:17 -07:00
Pavel Feldman
85ab1dc7a4
feat(waitForURL): add a new waitForURL api ( #6010 )
2021-03-30 21:51:22 -07:00
Max Schmitt
dfe07818e6
docs: fixed various typos ( #5958 )
2021-03-26 10:47:16 -07:00
Max Schmitt
601c09f7f1
docs(page): remove note that screenshot takes 1/6+s ( #5945 )
2021-03-24 20:02:14 -07:00
Darío Kondratiuk
24ee49b958
chore(dotnet): improve goto name in csharp ( #5917 )
2021-03-24 15:31:30 +01:00
Yury Semikhatsky
70beef83d0
docs: rename with* to set* for java ( #5737 )
2021-03-05 13:50:34 -08:00
Yury Semikhatsky
217a593e1d
docs: remove current accessbility api from java ( #5708 )
2021-03-03 14:56:28 -08:00
Max Schmitt
2a6bb50425
docs(python): fix outdated waitForResponse example ( #5685 )
2021-03-03 09:20:06 -08:00
Yury Semikhatsky
9042ca2149
docs: rename Page.console to consoleMessage in java ( #5640 )
2021-03-01 15:20:42 -08:00
Yury Semikhatsky
cad763491e
docs: spread parameters of page.setViewportSize in java ( #5664 )
2021-03-01 13:35:17 -08:00
Dmitry Gozman
96e099aca3
docs: use "argument: <type>" notation for events ( #5626 )
2021-02-25 22:22:47 -08:00
Yury Semikhatsky
cb0a890a09
docs: java snippets for api classes ( #5629 )
2021-02-25 22:03:39 -08:00
Yury Semikhatsky
6841da1487
docs: always use number for polling option in java ( #5519 )
2021-02-19 12:19:34 -08:00
Anže Vodovnik
9b73edfa19
chore(docs): fix invalid markdown reference ( #5479 )
2021-02-18 11:12:08 -08:00