Commit Graph

986 Commits

Author SHA1 Message Date
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
Anže Vodovnik
e26d98d6de
docs(csharp): add viewport back (#6161) 2021-04-09 11:08:33 -07:00
Yury Semikhatsky
16c8fe74ed
docs: fix typo in language filter (#6154) 2021-04-08 17:40:34 -07:00
Dmitry Gozman
db09275d89
docs: reject -> throw, fix small typos (#6152) 2021-04-08 16:42:45 -07:00
Joel Einbinder
63d0d466e3
feat(cdp): replace wsEndpoint with protocol neutral endpointURL (#6141) 2021-04-08 14:55:28 -07:00
Yury Semikhatsky
cdbf52f68d
docs: add basic intro page for C# (#6110) 2021-04-06 22:23:55 -07:00
Yury Semikhatsky
83c7a3ba26
docs: pass wsEndpoint as param in java (#6112) 2021-04-06 17:33:49 -07:00
Yury Semikhatsky
4bd7467942
docs: add missing connectOverCDP.wsEndpoint param in java (#6109) 2021-04-06 17:08:40 -07:00
Yury Semikhatsky
f61ec3fd07
docs(docker): update docker documentation to inlcude java (#6102) 2021-04-06 15:58:07 -07:00
Yury Semikhatsky
9abed11782
docs: expose connectOverCDP in java (#6107) 2021-04-06 15:57:51 -07:00
Darío Kondratiuk
ee396421ea
chore(dotnet): alias for dblclick in C# (#5899) 2021-04-06 11:49:46 +02:00
Max Schmitt
6a767d1a9c
docs(docker): use focal by default (#5746) 2021-04-05 16:09:35 -07:00
Max Schmitt
af48a8a1f1
devops: use ubuntu focal on bots and docs (#5951)
- drive-by: updated NPM Action
- replaced ubuntu-latest by ubuntu-20 so its pinned

Extracted from #5746
2021-04-05 12:39:15 -07:00
Pavel Feldman
ee1bcd760b docs: fix the Electron example 2021-04-04 14:08:40 -07:00
Pavel Feldman
a7630c91d5
api: remove Chromium* classes (#6040) 2021-04-01 18:47:14 -07:00
Max Schmitt
37b07adaab
docs: replace headful with headed (#6017) 2021-04-01 11:13:50 -07:00
Dmitry Gozman
9d9599c6a6
api(video): implement video.saveAs and video.delete (#6005)
These methods are safe to call while the page is still open, or when it is
already closed. Works in remotely connected browser as well.

Also makes video.path() to throw for remotely connected browser.

Under the hood migrated Download and Video to use the common Artifact object.
2021-03-31 10:38:05 -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
Alex Plischke
72a2dff538
Add Sauce Labs showcase (#5990) 2021-03-30 15:09:37 -07:00
Pavel Feldman
f1c0d09765
feat(size): emulate window.screen size (#5967) 2021-03-29 14:10:58 -07:00
Max Schmitt
dfe07818e6
docs: fixed various typos (#5958) 2021-03-26 10:47:16 -07:00
Darío Kondratiuk
475a6fe391
chore(dotnet): use csharp types in Frame and Page (#5961) 2021-03-26 10:45:50 -07:00
Dmitry Gozman
12e00629e4
docs: update channels doc to mention manual installation (#5964) 2021-03-26 10:20:21 -07:00
Max Schmitt
601c09f7f1
docs(page): remove note that screenshot takes 1/6+s (#5945) 2021-03-24 20:02:14 -07:00
Andrey Lushnikov
4fea83c6d8
docs: commit new release notes (#5944) 2021-03-24 14:51:28 -07:00
Darío Kondratiuk
24ee49b958
chore(dotnet): improve goto name in csharp (#5917) 2021-03-24 15:31:30 +01:00
Pavel Feldman
cc265fe1eb
docs(websocket): add web socket examples (#5927) 2021-03-23 17:17:59 -07:00
Pavel Feldman
543582b4ca
chore: expose channel name literals for types (#5922) 2021-03-23 13:21:03 -07:00
Pavel Feldman
f70eaf4ff3
docs(android): android doc nits (#5924) 2021-03-23 13:20:41 -07:00
Yury Semikhatsky
8f1d03f846
docs(options): clarify recordHarPath and recordVideoDir behavior (#5923) 2021-03-23 13:13:15 -07:00
Pavel Feldman
cac5aeb6da docs(browser): wording nits 2021-03-22 13:00:19 -07:00
Pavel Feldman
be9fa743ca docs(intro): remove stray wait from sync snippet 2021-03-21 09:52:26 -07:00
Yury Semikhatsky
237251924d
docs: add event listener guide (#5881) 2021-03-19 12:44:03 -07:00
Michael
cbebf64f07
docs: fix circleci invalid yaml (#5880) 2021-03-18 18:35:48 -07:00
Pavel Feldman
5c753b763f
docs: add the browsers section (#5876) 2021-03-18 15:35:55 -07:00
Pavel Feldman
516f13e7ee Revert "chore(docs): reference the available constants for csharp (#5785)"
This bubbled up in Python comment.
2021-03-18 13:49:35 -07:00
Anže Vodovnik
dfb1c99ad1
chore(docs): reference the available constants for csharp (#5785) 2021-03-18 16:34:13 +01:00
Anže Vodovnik
c55000812b
docs(dotnet): adds option parameters for csharp on element handle (#5823) 2021-03-17 18:28:40 +01:00
Pavel Feldman
95affe9387
chore: do not delete unused browsers when PLAYWRIGHT_SKIP_BROWSER_GC is specified (#5827) 2021-03-15 16:00:18 -07:00
Pavel Feldman
1dd6bd3316
infra(channel): wire release channel to all tests (#5820) 2021-03-15 08:07:57 -07:00
Pavel Feldman
a96d6a7dbb
feat: allow to pick stable channel (#5817) 2021-03-13 14:02:39 -08:00
Yury Semikhatsky
6a8c8d9c87
docs: fix Dialog class reference (#5788) 2021-03-11 08:42:31 -08:00
Anže Vodovnik
720dea4069
docs(dotnet): adding missing methods from dotnet port (#5763) 2021-03-11 17:14:10 +01:00
Max Schmitt
7706e5a24a
docs(python): removed wrong quotes for enum (#5784) 2021-03-10 14:19:48 -08:00
Yury Semikhatsky
aae8cc839a
docs: improve Download methods documentation (#5760) 2021-03-08 19:52:07 -08:00
Yury Semikhatsky
659d3c3b6f
docs: use custom link element in waitForNavigation example (#5755) 2021-03-08 12:21:34 -08:00
Anže Vodovnik
47104746ec
docs(dotnet): marking methods async (#5751) 2021-03-08 09:33:23 -08:00
Anže Vodovnik
0ca56a8b17
docs(dotnet): mark waitForClose as async (#5730) 2021-03-08 10:09:18 +01:00
Yury Semikhatsky
b5aeba90a6
docs: update java version to alpha in the intro (#5744) 2021-03-05 21:15:00 -08:00
Yury Semikhatsky
ea9485ec9a
docs: document PlaywrightException in java (#5743) 2021-03-05 15:32:33 -08:00
Yury Semikhatsky
70beef83d0
docs: rename with* to set* for java (#5737) 2021-03-05 13:50:34 -08:00
Yury Semikhatsky
0306fcb11b
docs: add java examples for CLI (#5727) 2021-03-05 10:13:02 -08:00
Pavel Feldman
8ffcbb3808
docs: add a pom.xml example for java intro (#5720) 2021-03-04 15:51:26 -08:00
Anže Vodovnik
5c46a61dba
docs(dotnet): csharp example for worker (#5718) 2021-03-04 19:05:50 +01:00
Anže Vodovnik
2e4f645488
docs(dotnet): csharp mouse example (#5717) 2021-03-04 19:03:51 +01:00
Pavel Feldman
a9238ce2e1
feat(debug): introduce npx playwright debug (#5679) 2021-03-03 22:25:14 -08:00
Yury Semikhatsky
ff91858bd3
docs: instpector launch params for java (#5711) 2021-03-03 15:17:22 -08:00
Yury Semikhatsky
217a593e1d
docs: remove current accessbility api from java (#5708) 2021-03-03 14:56:28 -08:00
Yury Semikhatsky
f02429106d
docs: add Page.onceDialog for java (#5706) 2021-03-03 13:13:59 -08:00
Dmitry Gozman
d87522f2e6
fix(text selector): revert quoted match to match by text nodes only (#5690) 2021-03-03 10:51:10 -08:00
Anže Vodovnik
986286a396
chore(dotnet): add examples to accessibility docs (#5702) 2021-03-03 19:39:32 +01:00
Max Schmitt
2a6bb50425
docs(python): fix outdated waitForResponse example (#5685) 2021-03-03 09:20:06 -08:00
Yury Semikhatsky
30e88c36fa
docs: enable BowserType.connect in java (#5686) 2021-03-02 16:25:22 -08:00
Yury Semikhatsky
2973eceaef
docs: string constant quoting (#5681) 2021-03-02 11:44:14 -08:00
Pavel Feldman
19bd32f6c7
docs: add video and proxy docs (#5668) 2021-03-01 20:14:19 -08:00
Yury Semikhatsky
f925a033e2
fix(docs): broken link to method (#5669) 2021-03-01 17:37:30 -08:00
Yury Semikhatsky
9042ca2149
docs: rename Page.console to consoleMessage in java (#5640) 2021-03-01 15:20:42 -08:00
Pavel Feldman
cd2e976c98
docs: unfork installation docs (#5661) 2021-03-01 15:10:47 -08:00
Yury Semikhatsky
cad763491e
docs: spread parameters of page.setViewportSize in java (#5664) 2021-03-01 13:35:17 -08:00
Andrey Lushnikov
ee69de7726
docs: docs typos (#5658) 2021-03-01 11:53:27 -08:00
Anže Vodovnik
86c7d77967
chore(dotnet): handle setters and ordering bug (#5654) 2021-03-01 18:49:14 +01:00
Yury Semikhatsky
6c9e806672
docs: add java snippets to the examples in guides (#5638) 2021-03-01 09:18:44 -08:00
Anže Vodovnik
28f3fe8e48
chore(dotnet): generate dotnet API from Markdown (#5089)
Introduces the generator for the .NET API surface to be used by the .NET language port to ensure greater consistency with other language ports.
2021-02-26 18:04:03 +01: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
Max Schmitt
612bb022a5
docs(intro): fixed wrong Python option (#5625) 2021-02-25 21:01:10 -08:00
Andrey Lushnikov
b285936721
docs: more clarity in the attribute selectors (#5621)
Fixes #5615
2021-02-25 10:42:52 -08:00
Dmitry Gozman
0102e080f6
fix(text selector): make quoted selector match by text nodes (#5603)
This change turns quoted match to be case-sensitive (as before),
but not strictly full-string for the whole element's text.

This is a fix for a case where element contains text nodes and child elements:
```html
<div>text1<span>child node</span>text2</div>
```
We now match this div by `text="text1"` and `text="text2"`.
2021-02-24 16:32:38 -08:00
Yury Semikhatsky
f85deeba01
docs: no [File] links (#5601) 2021-02-24 14:29:14 -08:00
Pavel Feldman
aa94dfbcb6
chore: remove invalid link from release notes (#5577) 2021-02-24 09:30:41 -08:00