Commit graph

1166 commits

Author SHA1 Message Date
Max Schmitt b846ddda04
feat(download): introduce Download.cancel (#7462) 2021-07-06 09:38:50 +02:00
Mark Skelton d9e704a3b1
docs: add expect-playwright to the showcase (#7446) 2021-07-02 19:18:24 +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
Max Schmitt 027fc4c0b4
chore: hide request interception for 1.13 (#7425) 2021-07-01 18:33:47 +02:00
Anish Karandikar 2166b98efc
docs(installation): Minor grammar edit (#7383) 2021-06-29 13:00:20 -07:00
Dmitry Gozman 1660334357
feat(install): docs and help (#7365)
Drive-by: remove test-intro and references to it.
2021-06-28 18:50:24 -07:00
Dmitry Gozman 014c224db6
docs(snapshots): add more details (#7366) 2021-06-28 14:17:28 -07:00
Max Schmitt 8414bafd86
docs(python): add example for testing Chromium extensions (#7338) 2021-06-28 21:26:04 +02:00
Pavel Feldman 2fa436675f docs(cdp): more python cdp fixes (2) 2021-06-26 08:31:36 -07:00
Pavel Feldman ff2e5f9120 docs(cdp): more python cdp fixes 2021-06-26 08:30:06 -07:00
Pavel Feldman 550b48f958
docs: fix the python cdp snippet (#7324) 2021-06-25 11:53:55 -07:00
Max Schmitt 4c6deaa449
test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02: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 b3cc683e6b
chore hide Download._cancel (#7282) 2021-06-23 23:20:36 +02:00
Max Schmitt 0d36cec600
chore: remove Playwright GitHub Action mentions (#7281) 2021-06-23 23:15:00 +02:00
David Murdoch 708fde8f0a
docs(python): fixed broken snippet in assertions.md
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-06-23 10:17:50 +02:00
Martin Costello af18b31473
docs(dotnet): fixed broken code snippets which contained Java (#7260) 2021-06-22 14:56:28 +02:00
Max Schmitt f4bf400f05
docs(python): enhance intro (#7234) 2021-06-21 19:57:56 +02:00
Max Schmitt 498b2d7ca0
docs(test-runner): added JSDoc hints to code snippets (#7226) 2021-06-21 19:56:30 +02:00
Azriz Jasni af06093869
docs(test-runner): fix missing reporter key config in snippet (#7242) 2021-06-21 13:52:25 +02:00
Pavel Feldman ea4eebeb2d
feat(test-runner): document tagging, implement grep-invert (#7227) 2021-06-18 17:56:59 -07:00
Yury Semikhatsky c0cd2d4579
feat: response interception (#7122) 2021-06-18 11:04:48 -07:00
Pavel Feldman 6f9d2ba53d docs: make docs test-first (2) 2021-06-18 10:56:47 -07:00
Pavel Feldman deec8a4adb
docs: make docs test-first (#7214) 2021-06-18 10:09:38 -07:00
Pavel Feldman 1b2f0714f7
docs: document passing data from global setup (#7213) 2021-06-17 17:21:22 -07:00
Dmitry Gozman 78261d2373
docs: clarify that attribute selectors are not CSS (#7210) 2021-06-17 15:08:05 -07:00
Ross Wollman 219e5138be
feat(response): expose connection details in API (#7150) 2021-06-17 13:04:55 -07:00
Chris Bolin 2e251d9d5d
clean up language in installation.md (#7184) 2021-06-16 18:39:15 -07:00
Pavel Feldman 82a50b0e1d
fix(test-runner): property handle artifacts in context of preserveOutput (#7181) 2021-06-16 16:05:30 -07:00
Andrey Lushnikov a3e4185b2f
chore: nuke 'webkit-technology-preview' experiment (#7164)
It proved to be unmaintainable due to the following reasons:
- determining upstream branch for the technology preview was a manual
and tedious process
- once determined, actual Safari Technology Preview occasionally
diverted from the branch
2021-06-15 23:58:30 -07:00
Joel Einbinder 4c2a3fb443
fix(test-runner): accept relative paths for outputDir (#7149)
fixes #7124
2021-06-15 13:39:07 -07:00
Yury Semikhatsky 2b980da86b
docs: fix tracing java examples (#7145) 2021-06-15 11:14:09 -07:00
Max Schmitt 48c3691dca
docs(test-runner): add note about launchOptions and contextOptions (#7133) 2021-06-15 10:11:15 +02:00
Dmitry Gozman 742cce3a1d
feat(test runner): configurable reportSlowTests (#7120)
Also splits tests by projects and reports them with nice relative paths.
2021-06-14 22:45:58 -07:00
Pavel Feldman 970bb6a70d
feat(test-runner): allow setting pixel match threshold for project (#7123) 2021-06-14 21:52:10 -07:00
Max Schmitt dbf779b734
docs(test-runner): move slowMo to launchOptions (#7098) 2021-06-14 17:12:53 +02:00
Andrew Hampton 1448f60547
docs: fix typo in Trace Viewer documentation (#7105) 2021-06-14 07:57:37 -07:00
Max Schmitt 1be687e478
docs(dotnet): fixed broken screenshot example (#7090) 2021-06-14 15:39:58 +02:00
Lisa d7c0ddaeb0
docs(python): add missing closing parenthesis (#7089) 2021-06-14 10:43:08 +02:00
Peng-Yu Chen 5f6d4a7b73
feat(download): adding a new Download._cancel method (#6236) 2021-06-12 22:23:22 +02:00
Max Schmitt 2b8ea73048
docs(test-runner): fixed wrong function calls (#7080) 2021-06-11 16:20:13 -07:00
Andrey Lushnikov f52290d4ea
Revert "feat: add defaultTimeout browser context configuration option (#6944)" (#7057)
This reverts commit 617dfdef9e.

It turns out this might conflict with our bright testrunner future.
2021-06-10 18:38:56 -07:00
Amit Abershitz 617dfdef9e
feat: add defaultTimeout browser context configuration option (#6944)
Fixes #6940

Co-authored-by: Amit Abershitz <aabershitz@proofpoint.com>
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2021-06-10 18:10:20 -07:00
Pavel Feldman 1479610abd
docs: start adding an API cheat sheet (#7045) 2021-06-10 13:43:42 -07:00
Max Schmitt 13b6d0153d
docs: change wording from C# to .NET (#7021) 2021-06-10 18:16:10 +02:00
Max Schmitt 54d5978026
docs: added extensions page (#7010) 2021-06-10 16:48:16 +02:00
Pavel Feldman 144ef2a72d
docs: add reuse auth in test runner example (#7006) 2021-06-09 19:26:09 -07:00
Pavel Feldman e0150338ac
docs: fix the global setup example (#7005) 2021-06-09 17:39:49 -07:00
Yury Semikhatsky e625e17dc3
docs(api): add env option to Playwright.create in Java (#7002) 2021-06-09 15:05:51 -07:00
Pavel Feldman 5093e4e804
docs: add playwright test clarification (#6993) 2021-06-09 12:34:58 -07:00
Nav-2d a7b3bc1b38
docs(test-advanced): fix wrong extension (#6996) 2021-06-09 11:59:55 -07:00
Max Schmitt 048a380462
docs(input): fixed wrong example time value (#6988) 2021-06-09 10:16:54 -07:00
Pavel Feldman 521153844a
docs: fix the nunit example (#6978) 2021-06-08 19:14:18 -07:00
Andrey Lushnikov 52e75cf13e
docs: split release notes on the website per-language (#6977) 2021-06-08 16:43:34 -07:00
Andrey Lushnikov aa2546592d
docs: update release notes docs (#6974) 2021-06-08 16:17:53 -07:00
Max Schmitt 557a564c5f
docs(python): update Pytest docs (#6965) 2021-06-08 21:20:45 +02:00
Darío Kondratiuk cc2a7ef369
doc(csharp): improve example readability on intro page (#6957) 2021-06-08 12:03:49 -07:00
Pavel Feldman 021f51cc1f
feat(trace): add a trace option into the test runner (#6961)
Co-authored-by: Andrey Lushnikov <aslushnikov@gmail.com>
2021-06-08 11:22:07 -07:00
Andrey Lushnikov 53d68bdb38
feat: firefox is stable by default (#6953)
This patch:
- rolls Firefox to v1269 which is now a firefox-stable build.
- introduces a new channel, `firefox-beta`, for our internal needs.

Fixes #6817
2021-06-08 09:34:17 -07:00
Max Schmitt 334096ed20
docs(pom): fixed JS example which contained TS (#6917) 2021-06-07 22:41:56 +02:00
Yury Semikhatsky 52878bb19d
docs: use proper option name for --workers (#6942) 2021-06-07 12:24:00 -07:00
Pavel Feldman 99ec32ae61
chore: more doc nits (#6937) 2021-06-07 11:54:50 -07:00
Max Schmitt 42a9e4a0d3
docs(mobile): make experimental Android support more present (#6932) 2021-06-07 17:04:18 +02:00
Dmitry Gozman 8c13f679b7
fix(test runner): remove folio/jest namespaces in expect matchers (#6930) 2021-06-07 08:02:01 -07:00
Pavel Feldman 4b5ad33cf8
doc: fix first .net script (#6922) 2021-06-05 14:33:36 -07:00
Dmitry Gozman 82041b2f74
test: roll to folio@0.4.0-alpha28 (#6918) 2021-06-04 20:54:58 -07:00
Pavel Feldman f441755698
docs(dotnet): add test runner docs (#6919) 2021-06-04 20:52:35 -07:00
Olivier Leplus b5ac393284
docs(showcase): fixed typo in showcase.md (#6915) 2021-06-04 23:23:42 +02:00
Pavel Feldman 9ad507d9c0
doc(test): pass through test docs (#6914) 2021-06-04 13:33:56 -07:00
Max Schmitt 9142d8c2dd
docs: fix that test-runner is not included (#6912) 2021-06-04 21:15:09 +02:00
Dmitry Gozman 21b00d0bcc
test: roll to folio@0.4.0-alpha27 (#6897) 2021-06-03 22:06:59 -07:00
Yury Semikhatsky abc66c6e70
docs(api): add missing callback parameter to waitForRequestFinished (#6893) 2021-06-03 17:17:35 -07:00
Pavel Feldman e41979a551
chore: import @playwright/test (#6880) 2021-06-03 14:46:58 -07:00
Pavel Feldman d16afef75a
doc(tracing): add a trace viewer doc (#6864) 2021-06-03 08:08:05 -07:00
Kumar Aditya 13b6444bda
docs(python): add docs for installing with conda (#6845)
Co-authored-by: Max Schmitt <max@schmitt.mx>
2021-06-03 11:37:43 +02:00
Pavel Feldman b2143a951b
chore: make tracing zero config (#6859) 2021-06-02 22:00:34 -07:00
Dmitry Gozman 8a68fa1e83
docs(test runner): advanced section (#6862) 2021-06-02 20:16:10 -07:00
Pavel Feldman c5e1c8b90c
docs: use explicit tab suffixes (#6855) 2021-06-02 15:31:51 -07:00
Pavel Feldman d28f45b6ee
api(tracing): export -> stop({path}) (#6802) 2021-06-02 10:04:25 -07:00
Max Schmitt 79b244a2f4
chore: use bash instead of sh in code blocks (#6847) 2021-06-02 18:23:06 +02:00
Ross Wollman ffe89c4e3d
docs(installation): use RFC5735 IPs for examples (#6729)
Updates examples to use IPs from [TEST-NET-* blocks][rfc5735] designated for
example documentation instead of likely live (albeit innocuous) router IPs.

[rfc5735]: https://datatracker.ietf.org/doc/html/rfc5735
2021-06-02 00:15:21 -07:00
Ross Wollman c8c849e164
docs(page): add TypeScript $eval type-hint notes (#6693) 2021-06-01 22:50:31 +02:00
Dmitry Gozman 5fd15d8a5e
docs(test runner): put more example in various sections (#6812) 2021-05-31 22:01:21 -07:00
Dmitry Gozman 98fc8b1739
docs(test runner): update reporters and snapshots docs (#6811) 2021-05-31 20:17:15 -07:00
Max Schmitt c8c77e4df0
docs: use sha256 for exposeFunction everywhere (#6805) 2021-05-31 15:47:14 -07:00
Max Schmitt 9c42192207
docs(python): add expect wrapper aliases for roll (#6809) 2021-05-31 19:00:18 +02:00
Max Schmitt 47d4d473d0
docs: fixed wrong waitForRequestFinished description (#6808) 2021-05-31 18:54:20 +02:00
Dmitry Gozman d6fe9f0b84
docs(test runner): more basic docs (#6803) 2021-05-30 19:46:16 -07:00
Dmitry Gozman 709a4cbe89
docs(test runner): configuration docs (#6801) 2021-05-30 15:14:44 -07:00
Dmitry Gozman f7e720568d
docs: update test runner docs (#6795) 2021-05-29 08:58:17 -07:00
Dmitry Gozman a7afcf24c6
docs: js/ts snippets for tests (#6791) 2021-05-28 17:02:23 -07:00
Pavel Feldman 0f760627fa
docs: add test runner docs (#6784) 2021-05-27 20:30:03 -07:00
Pavel Feldman 93a0efa832
docs(runner): start adding runner docs (3) (#6777) 2021-05-27 18:50:44 -07:00
Pavel Feldman 2c9e6e81a4
docs(runner): start adding runner docs (2) (#6776) 2021-05-27 10:15:37 -07:00
Pavel Feldman 4578d57901
docs(runner): start adding runner docs (#6773) 2021-05-27 09:16:50 -07:00
Pavel Feldman 7b4af6b201 docs: text nits (3) 2021-05-26 17:36:44 -07:00
Pavel Feldman 250c51fd9f docs: text nits (2) 2021-05-26 16:27:42 -07:00
Pavel Feldman 9233a61bda doc: text nit 2021-05-26 16:22:38 -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 792f3d41e9
api(dotnet): use jsonelement (#6749) 2021-05-26 07:28:26 -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
Max Schmitt f629cbe053
docs: provide examples for PowerShell when settings env vars (#6718) 2021-05-25 07:10:22 +02:00
Pavel Feldman 2321abb2d9
api(dotnet): fix json api (#6723) 2021-05-24 13:40:02 -07:00
Max Schmitt 88defbd5a6
docs(network): fixed proxy typo with username (#6716) 2021-05-24 18:35:58 +02:00
Pavel Feldman 3097b9a4f4
api(dotnet): use json element for a11y (#6710) 2021-05-22 20:29:32 -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
Alexey Lagunov 72c6f4f69e
Corrected JavaScript lambda in python sections (#6692) 2021-05-21 09:15:21 -07:00
Dmitry Gozman 8490eb3c89
docs: small tweaks (#6681) 2021-05-20 09:19:58 -07:00
Pavel Feldman 6281b95acc
docs(dotnet): follow up to Anze's changes (#6672) 2021-05-20 08:20:21 -07:00
Yury Semikhatsky 6b8b75d145
docs: add JUnit examples (#6668) 2021-05-19 19:55:13 -07:00
Anže Vodovnik c80e9fa58a
docs(dotnet): guides (#6639) 2021-05-19 19:53:12 -07:00
Anže Vodovnik 0aa9e06370
docs(dotnet): First part/pass for guides (#6583) 2021-05-19 19:49:48 -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 e679d99421
chore: remove input files and selected option overrides (#6665) 2021-05-19 16:13:17 -07:00
Pavel Feldman 1f22673c29
api(dotnet): introduce RunAndWaitForAsync (#6660) 2021-05-19 15:49:44 -07:00
Max Schmitt 202511d60a
docs: chromiumSandbox is by default false (#6662) 2021-05-20 00:16:55 +02:00
Yury Semikhatsky e19aea736a
docs: do not recommend context for parallel execution (#6659) 2021-05-19 14:14:17 -07:00
Joel Einbinder 754ee13c93
feat(electron): accept BrowserContextOptions in electron.launch (#6621) 2021-05-19 06:56:29 -07:00
Pavel Feldman 972f0ec2b5
api(dotnet): migrate to options (#6651) 2021-05-18 23:33:52 -07:00
Pavel Feldman 36c0765c98
api(dotnet): remove serializer options (#6641) 2021-05-18 10:55:03 -07:00
Pavel Feldman 7eca573eb4
api(dotnet): remove some overrides (#6622) 2021-05-17 20:10:32 -07:00
Pavel Feldman d2a23a4abe
fix(md): bring generic launch args into class-browsertype (#6607) 2021-05-16 10:25:51 -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
Pavel Feldman 9aa610063c
docs(dotnet): examples for verification, video, fixes (#6597)
Will follow up...
2021-05-15 11:37:21 -07:00
Pavel Feldman bbc3ebd512
docs(dotnet): examples for input, intro, languages, multi-pages (#6596) 2021-05-15 10:56:10 -07:00
Pavel Feldman c01c5dbb55
docs(dotnet): examples for navigation.md, network.md, selectors.md (#6593) 2021-05-14 23:22:30 -07:00
Pavel Feldman bc18529191
docs(ff): temporarily remove ff-stable reference (#6585) 2021-05-14 12:03:38 -07:00
Darío Kondratiuk 2b887bf835
chore(dotnet): remove StatusCode property (#6582) 2021-05-14 07:50:49 -07:00
Anže Vodovnik 885285bea7
docs(dotnet): Video and Worker examples (#6581) 2021-05-14 07:50:35 -07:00
Anže Vodovnik c9d2f6bfe0
docs(dotnet): selectors example (#6580) 2021-05-14 07:50:15 -07:00
Darío Kondratiuk 8845484ac7
chore(dotnet): page.opener sync (#6579) 2021-05-14 07:49:37 -07:00
Anže Vodovnik ec0b4e9061
docs(dotnet): route examples (#6578) 2021-05-14 07:49:14 -07:00
Pavel Feldman ab36fdeba7
api(download): hide new api until c# is public (#6567) 2021-05-13 15:58:46 -07:00
Sébastien Règne e87fbfcc1d
feat(download): add Page in Download (#6501) 2021-05-13 14:18:21 -07:00
Pavel Feldman 81a57ea2ac
docs(dotnet): generate 1.11 api off tot (#6564) 2021-05-13 12:24:20 -07:00
Pavel Feldman 6a39b86640
chore: GoToAsync -> GotoAsync (#6563) 2021-05-13 11:57:02 -07:00
Pavel Feldman bdb4aefc8f docs(tracing): remove the relative link 2021-05-13 11:24:53 -07:00
Darío Kondratiuk 7adf907fba
docs(dotnet): rename getPayloadAsJson to PostDataJsonAsync (#6533) 2021-05-13 11:14:35 -07:00
Vignesh Shanmugam 4b3e5e5c17
feat(network): expose network events via browser context (#6370)
- fix #6340
- Exposes all the network related events (request, response, requestfailed, requestfinished) through the browser context to allow for managing network activity even if the is any navigations through popups or to new tabs which could result in creation of multiple page objects.
2021-05-13 10:29:14 -07:00
Anže Vodovnik 30dd02409b
docs(dotnet): BrowserContext and BrowserType (#6503) 2021-05-13 10:25:16 -07:00
Anže Vodovnik d6b98effc3
docs(dotnet): examples for dialog, download and filechooser (#6526) 2021-05-13 10:24:15 -07:00
Anže Vodovnik ddfbffa111
docs(dotnet): Page examples (#6556) 2021-05-13 10:19:47 -07:00
Anže Vodovnik ea59fd8f83
docs(dotnet): Playwright examples (#6558) 2021-05-13 10:19:14 -07:00
Anže Vodovnik 47645ec815
docs(dotnet): Frame examples (#6555) 2021-05-13 10:18:56 -07:00
Anže Vodovnik 62265905de
docs(dotnet): Request Examples (#6560) 2021-05-13 10:17:11 -07:00
Anže Vodovnik fce904fa4c
docs(dotnet): Keyboard examples (#6539) 2021-05-13 11:15:27 +02:00
Pavel Feldman 1a39843df5
docs: follow up on adding trace dir, unify launch options (#6545) 2021-05-12 16:16:36 -07:00
Pavel Feldman 21cb726b7d
chore(tracing): expose tracing api (#6523) 2021-05-12 12:21:54 -07:00
Anže Vodovnik bcccafea13
docs(dotnet): ElementHandle and JSHandle examples (#6527) 2021-05-12 09:04:51 -07:00
Yury Semikhatsky 08ed560254
chore(docs): update section id to keep alphabetic order (#6515) 2021-05-12 09:03:36 -07:00
Darío Kondratiuk 6023c6746a
docs(dotnet): add devices property (#6530) 2021-05-12 08:09:47 -07:00
Darío Kondratiuk 0d3d2d3384
chore(dotet): fix goto casing (#6529) 2021-05-12 08:09:04 -07:00
Max Schmitt 60a7b0618f
docs(cli): add example on how to install-deps for a single browser (#6534) 2021-05-12 15:59:31 +02:00
Anže Vodovnik 2945f05cfa
docs(dotnet): accessibility docs (#6489) 2021-05-12 10:30:22 +02:00
Max Schmitt 8af8b6340d
docs: add ref to waitForSelector from querySelector (#6514) 2021-05-12 08:07:49 +02:00
Yury Semikhatsky a22ae1313d
docs(java): add multithreading section (#6512) 2021-05-11 14:33:00 -07:00
Sébastien Règne 33823a9143
docs(download): improve documentation (#6486) 2021-05-11 13:27:50 -07:00
Max Schmitt e0aaef5eab
docs: get rid of dollar sign prefix in code snippets (#6494) 2021-05-11 20:47:48 +02:00
Andrey Lushnikov 9a6d09feba
docs: update release notes (#6492) 2021-05-10 15:51:37 -07:00
Anže Vodovnik 3f6461189b
docs(dotnet): Browser examples (#6490) 2021-05-10 11:24:54 -07: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
Anže Vodovnik 90de864216
docs(dotnet): introduce separate csharp viewport option (#6198) 2021-05-05 13:13:18 -07:00
Dmitry Gozman 14ebcfdf0b
docs: update fill/selectOption docs to mention label retargeting (#6406) 2021-05-04 13:08:38 -07:00
Andrey Lushnikov 653d483ba8
docs: add firefox-stable channel documentation (#6328)
Fixes #5993
2021-05-03 16:52:33 -07:00
Yury Semikhatsky fe94dc5cf3
docs: expose tracing API in java (#6387) 2021-05-03 15:23:03 -07:00
Pavel Feldman 1a859ebe68
chore(electron): fix node/browser race conditions, expose browser window asynchronously (#6381) 2021-05-02 22:45:06 -07:00
Thomas Wang af92565bc7
Update class-page example code (#6379) 2021-04-30 21:39:10 -07:00
Max Schmitt a59a494e64
chore: drop support for Node.js 10 (#6371) 2021-04-30 07:49:10 -07:00
Max Schmitt 7405655c26
docs(cli): add install-deps command and reference to it (#6374) 2021-04-30 07:44:30 -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
Max Schmitt 1c40c94ed7
chore: only throw the proxy on launch required on win/CR (#6350) 2021-04-30 00:02:48 +02:00
Max Schmitt 1b771ed360
docs(python): add Error base class (#6315) 2021-04-28 10:41:46 +02:00
Joel Einbinder abb61456d1
docs(keyboard): clarify how page.type works for non-US characters (#6273) 2021-04-26 20:54:40 -07:00
Kumar Aditya 2f290cc9be
fix: fix docs for BrowserType headers (#6314) 2021-04-26 08:58:01 -07:00
Dmitry Gozman ce0331038b
docs: add route example with some logic (#6324) 2021-04-26 08:46:17 -07:00
Yury Semikhatsky d31107f342
fix(docs): make headers and option, not param (#6307) 2021-04-23 15:27:14 -07:00
Yury Semikhatsky fd31ea8b0d
feat: support extra http headers in browserType.connect() (#6301) 2021-04-23 14:52:27 -07:00
Dmitry Gozman ff147b0007
docs: update waitForRequest/Response snippets (#6294) 2021-04-23 08:53:25 -07:00
Max Schmitt 97b485bd74
docs(python): add BrowserType.connectOverCDP (#6270) 2021-04-22 19:13:19 +02:00
Max Schmitt 7053ac9097
chore(types): add channel to launchServer (#6256) 2021-04-21 21:23:08 +02: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 ad731c1535
feat(debug): PWDEBUG=console vs PWDEBUG=inspector (#6213)
This supports `PWDEBUG=console` that:
- runs headed;
- disables timeouts;
- adds `playwright` console helper.

When using `PWDEBUG=anything-but-console`, we open inspector.
Docs keep suggesting `PWDEBUG=1`.
2021-04-20 15:58:34 -07:00
Darío Kondratiuk 7dccfd4227
chore(dotnet): generate IDownload.createReadStream method (#6192) 2021-04-19 13:28:57 -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
Max Schmitt fd1f3fa322
docs(python): add BrowserType.connect (#6230) 2021-04-19 17:43:30 +02:00
Michael Palotas bd0614b0c8
added Selenium Box (#6228) 2021-04-19 08:40:45 -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 b62a436041
feat(selectors): support max distance in layout selectors (#6172)
Supports `div:near(button, 120)` with configurable distance in pixels.
2021-04-10 15:20:26 -07:00