Dmitry Gozman
40164298a8
api: remove ElementHandle.visibleRatio ( #1069 )
2020-02-19 16:08:25 -08:00
Dmitry Gozman
33824aa1d7
feat(click): waitForInteractable option, defaults to true ( #934 ) ( #1052 )
2020-02-19 09:34:57 -08:00
Pavel Feldman
1ee657823e
feat(viewport): update defaults to 1280x720, fix Firefox ( #1038 )
2020-02-18 09:16:32 -08:00
Józsi
010c27410a
Docs: fix return type of launchPersistent ( #1047 )
...
Docs fix: the return type of `browserType.launchPersistent` is [BrowserContext](https://github.com/microsoft/playwright/blob/master/src/server/browserType.ts#L46 ), not ` BrowserServer`.
2020-02-17 14:35:11 -08:00
Daniel Imms
8071225d1e
Add xterm.js to showcase ( #1034 )
2020-02-15 10:07:41 -08:00
Joel Einbinder
8cfdeb99bd
chore: mark v0.11.1-post ( #1027 )
2020-02-14 19:23:50 -08:00
Joel Einbinder
2037e01b06
chore: mark v0.11.1 ( #1025 )
2020-02-14 19:13:08 -08:00
Arjun Attam
bb8d435c5b
chore(docs): add community showcase ( #1018 )
2020-02-14 16:54:14 -08:00
Dmitry Gozman
dbb45d443a
Revert "feat(click): waitForInteractable option, defaults to true ( #934 )" ( #1013 )
...
Reason: new tests are flaky on all bots.
2020-02-14 13:05:23 -08:00
Dmitry Gozman
9413351d3f
feat(click): waitForInteractable option, defaults to true ( #934 )
2020-02-14 11:55:34 -08:00
Andrey Lushnikov
39c580a9b1
chore: bump version to 0.11.0-post ( #1001 )
2020-02-13 19:10:03 -08:00
Andrey Lushnikov
f9887e073d
chore: mark version 0.11.0 ( #1000 )
2020-02-13 18:56:54 -08:00
Pavel Feldman
cd4e9da807
feat(coverage): export raw v8 coverage ( #976 )
...
Fixes #955
2020-02-13 17:39:14 -08:00
Dmitry Gozman
25022e4685
feat(api): introduce default timeouts on BrowserContext ( #992 )
2020-02-13 14:18:18 -08:00
Pavel Feldman
c15534ff01
fix(locale): document locale parameter ( #990 )
2020-02-13 13:37:59 -08:00
Andrey Lushnikov
aa60a7cebd
docs(api.md): fix nit
2020-02-12 16:18:05 -08:00
Andrey Lushnikov
7ce49c2835
chore: remove WebSocket implementation ( #961 )
...
WebSocket implementation currently is very incomplete, lacking
support in WebKit-Win and Firefox.
2020-02-12 15:29:06 -08:00
Andrey Lushnikov
b0c0598510
fix(api): small-case all api event names ( #959 )
2020-02-12 14:59:54 -08:00
Pavel Feldman
53237009ad
feat($wait): make $wait a shortcut for waitForSelector ( #932 )
2020-02-11 14:51:09 -08:00
Pavel Feldman
aae5fca237
feat(api): make browser.newPage own the created context ( #930 )
2020-02-11 12:06:58 -08:00
Andrey Lushnikov
ad9d6cc31f
feat: introduce browserType.downloadBrowserIfNeeded() ( #834 )
...
Fixes #823
2020-02-11 11:33:48 -08:00
Pavel Feldman
72b9cf010e
feat(context): introduce BrowserContext close event ( #918 )
2020-02-11 10:27:19 -08:00
Pavel Feldman
84f5700294
feat(api): rename browserContext() to context() in the apis, remove url from newPage ( #906 )
2020-02-10 10:41:45 -08:00
Dmitry Gozman
fee83b17c9
fix(api): page.viewport -> page.viewportSize ( #878 )
...
We now only allow to resize the page, leaving isMobile and deviceScaleFactor as browser context options.
2020-02-06 19:02:55 -08:00
Joel Einbinder
06a7d7e3e3
docs(api.md): missing arguments for functions in page.route ( #880 )
2020-02-06 17:14:37 -08:00
aesyondu
75340f34ad
chore: Note that (code) coverage is only available for chromium ( #867 )
2020-02-06 15:51:03 -08:00
Pavel Feldman
a547aa7984
feat(connect): allow multiple webkit connections over web socket ( #863 )
2020-02-06 12:41:43 -08:00
Andrey Lushnikov
a72784a677
fix(test): properly clean input field ( #860 )
2020-02-05 18:11:33 -08:00
Dmitry Gozman
6318ba6e4a
feat(frame): introduce frame.frameElement ( #856 )
...
Fixes #839 .
2020-02-05 17:20:23 -08:00
Andrey Lushnikov
4aa155ede1
docs(api.md): fix link
2020-02-05 16:53:02 -08:00
Pavel Feldman
55b6fe241e
feat(launch): introduce client, server & persistent launch modes (3) ( #854 )
2020-02-05 16:36:36 -08:00
Pavel Feldman
a2ab645e63
feat(launch): introduce client, server & persistent launch modes (2) ( #840 )
2020-02-05 12:41:55 -08:00
Andrey Lushnikov
0f1a42a5d3
docs(readme): fix API link to always point to last released API
2020-02-05 12:05:36 -08:00
Pavel Feldman
2e0f3e3e01
docs: split docs to npm version and latest ( #846 )
2020-02-05 07:29:06 -08:00
Pavel Feldman
0518625dcc
feat(launch): introduce client, server & persistent launch modes (1) ( #838 )
2020-02-04 19:41:38 -08:00
Pavel Feldman
e3e2da3186
feat(check): introduce page.check/uncheck ( #826 )
2020-02-04 14:39:10 -08:00
aesyondu
3ef23133a6
docs: fix dead link for element handle ( #827 )
2020-02-03 20:27:54 -08:00
Pavel Feldman
05d4746eb5
feat(selectors): temporarily remove zs engine ( #824 )
2020-02-03 16:14:37 -08:00
Pavel Feldman
8028fb052a
feat(route): migrate from request interception w/ events to page.route ( #809 )
2020-02-03 14:23:24 -08:00
Pavel Feldman
387b895929
browser(webkit): build more wk features ( #807 )
2020-02-02 14:21:50 -08:00
Darío Kondratiuk
0007439072
doc(api.md): Fix setPermissions link ( #806 )
2020-02-02 14:18:28 -08:00
Andrey Lushnikov
fce3842011
chore: bump version to 0.10.0-post ( #796 )
2020-01-31 18:46:34 -08:00
Andrey Lushnikov
6a97216fff
chore: mark version 0.10.0 ( #795 )
2020-01-31 18:40:44 -08:00
Yury Semikhatsky
25f2a32af3
feat: add Page.opener() to the API ( #790 )
...
Fixes #783
2020-01-31 18:38:45 -08:00
Pavel Feldman
ef1d2fb995
Revert "fix: move offline/cache/interception switches to BrowserContext ( #748 )" ( #793 )
...
This reverts commit 6faf74bc95
.
2020-01-31 16:23:15 -08:00
Pavel Feldman
9a00e1d1f6
docs: update webkit.md features
2020-01-31 08:39:09 -08:00
Pavel Feldman
24c5df65c2
docs: add webkit build flags table ( #777 )
...
Fixes #565
2020-01-30 18:33:56 -08:00
Joel Einbinder
e131fe0cee
fix(chromium): install libgbm ( #773 )
...
The new Chromium (#771 ) requires [`libgbm1`](https://packages.debian.org/sid/libgbm1 ) to be installed. Install it manually on the bots, and add it to troubleshooting.md.
2020-01-30 15:54:53 -08:00
Arjun Attam
adc91c986c
chore(docs): fix broken link for downloaded browsers ( #772 )
2020-01-30 14:54:24 -08:00
Dmitry Gozman
c9544b9b46
docs: add documentation for selector engines ( #752 )
2020-01-30 09:08:22 -08:00
Dmitry Gozman
0e6b44d337
feat(selectors): selectors.register accepts function ( #753 )
2020-01-29 15:13:43 -08:00
Yury Semikhatsky
6faf74bc95
fix: move offline/cache/interception switches to BrowserContext ( #748 )
2020-01-29 12:51:14 -08:00
Andrey Lushnikov
ce7c8d74b5
feat: introduce BrowserType.name() ( #732 )
...
This helps a lot to produce nice logging:
```js
const { chromium, webkit } = require('playwright');
(async () => {
for (const launcher of [chromium, webkit]) {
console.log(`Testing on ${launcher.name()}`);
const browser = await launcher.launch();
// ...
await browser.close();
}
})();
```
2020-01-28 18:09:07 -08:00
Pavel Feldman
09e97afd22
feat(wk,ff): amend method & postData upon continue ( #703 )
...
Fixes #668
2020-01-28 14:29:46 -08:00
Darío Kondratiuk
c35c65b393
docs(api.md) Rename page to context in newContext ( #723 )
...
A few more
2020-01-28 14:21:11 -08:00
Jamie
75f7ff3e05
docs(api.md) Fix USKeyboardLayout link ( #719 )
2020-01-28 14:04:14 -08:00
Darío Kondratiuk
9d34f28a40
docs(api.md) Rename page to context in newContext ( #718 )
...
The user agent is for the context not the page
2020-01-28 13:46:23 -08:00
Dmitry Gozman
2bef4aea03
feat(api): introduce selectors.register method ( #701 )
2020-01-28 11:20:34 -08:00
Vignesh Shanmugam
90d84e8879
docs(api): fix cdp session creation example ( #709 )
2020-01-28 07:54:41 -08:00
Pavel Feldman
e2764306b3
doc: require webSocket:true for endpoint availability ( #706 )
2020-01-27 22:41:59 -08:00
Pavel Feldman
79ea30cfbc
docs: sort classes by use ( #700 )
2020-01-27 20:49:42 -08:00
Andrey Lushnikov
bd726ee499
chore: bump version to v0.9.24-post
2020-01-27 17:26:23 -08:00
Andrey Lushnikov
3e40b4e9d3
chore: mark version 0.9.24
2020-01-27 17:23:53 -08:00
Andrey Lushnikov
ee9c2b0c41
chore: bump version to v0.9.23-post
2020-01-27 14:08:14 -08:00
Andrey Lushnikov
03e2754dce
chore: mark version 0.9.23
2020-01-27 13:47:02 -08:00
Andrey Lushnikov
d7beaa7068
chore: bump version to 0.9.22-post ( #684 )
2020-01-27 13:31:43 -08:00
Andrey Lushnikov
0a7005e6e9
chore: mark version v0.9.22 ( #682 )
2020-01-27 13:28:23 -08:00
Pavel Feldman
5a5016fa7d
docs: inline superclass toc into classes for convenience ( #663 )
2020-01-27 10:05:04 -08:00
Andrey Lushnikov
c850430642
docs(api.md): remove browser downloads section ( #675 )
...
It quickly gets out of hand; let's remove it for now.
2020-01-27 09:48:50 -08:00
Andrey Lushnikov
9e0cf726ce
docs(api.md): add missing docs ( #664 )
...
Follow-up to #641 that adds API entries.
2020-01-27 08:27:45 -08:00
Darío Kondratiuk
99414b0410
doc(page): Improve Page description ( #665 )
2020-01-27 08:26:45 -08:00
Pavel Feldman
4b849734af
docs: api.md typos
...
Fixes #661
2020-01-26 22:13:14 -08:00
Yury Semikhatsky
b64604c1ea
chore: replace pptr with pw ( #643 )
2020-01-24 16:15:41 -08:00
Dmitry Gozman
c453851217
api: introduce BrowserType with a single interface, update top-level api ( #636 )
2020-01-24 14:49:47 -08:00
Joel Einbinder
ff877014cd
doc(troubleshooting): add note about lack of node 8 support ( #623 )
2020-01-24 09:04:54 -08:00
Dmitry Gozman
056fbbd53e
fix(api): make pipe connection the default, expose webSocket launch option ( #562 )
2020-01-23 17:45:31 -08:00
Joel Einbinder
3b2993ffe9
fix(docs): add back troubleshooting.md ( #605 )
...
This is mostly copied from Puppeteer's troubleshooting.md, with everything under a Chromium header and a few tweaks to make things make sense for Playwright.
We can add other browsers to this document once we figure out how to troubleshoot them.
Fixes #583
2020-01-23 15:54:09 -08:00
Joel Einbinder
4cf2180506
fix(docs): add docs for the websocket event ( #612 )
2020-01-23 15:26:38 -08:00
Dmitry Gozman
ac2ba3cbd9
fix(api): BrowserServer -> BrowserApp, resuse it between browsers ( #599 )
2020-01-23 14:40:37 -08:00
Dmitry Gozman
a5019ea69a
fix(api): remove remoteAddress from api ( #601 )
2020-01-23 12:13:58 -08:00
Dmitry Gozman
fa2f321fdd
fix(api): remove BrowserServer.connect ( #574 )
2020-01-23 08:51:43 -08:00
Rajendra arora
a6042e437a
docs: removed semicolon from code doc as it not required ( #580 )
2020-01-23 08:50:37 -08:00
Joel Einbinder
7e8bce7911
chore: bump version to v0.9.21-post
2020-01-22 20:35:01 -08:00
Joel Einbinder
372a88fa30
chore: mark version v0.9.21
2020-01-22 20:32:32 -08:00
Joel Einbinder
ef2286cbb5
chore: mark version v0.9.20 ( #578 )
2020-01-22 20:29:22 -08:00
Dmitry Gozman
3269358ac8
feat(webkit): covert pipe to websocket when asked ( #570 )
2020-01-22 17:42:10 -08:00
Andrey Lushnikov
eab8f92ac8
docs: create a single top-level TOC for api.md ( #561 )
...
This patch:
- creates a single top-level TOC for api.md
- adds a TOC for each class in the api.md
2020-01-22 12:21:45 -08:00
Andrey Lushnikov
5c5faf35a9
chore: bump version to 0.9.19-post
2020-01-21 18:38:39 -08:00
Andrey Lushnikov
11abcee1d8
chore: mark version v0.9.19
2020-01-21 18:35:14 -08:00
Pavel
1c8b421260
chore: remove web sockets for now, mute failing wpe tests
2020-01-21 18:33:19 -08:00
Andrey Lushnikov
de77fcca8a
chore: bump version to 0.9.18-post
2020-01-21 17:41:45 -08:00
Joel Einbinder
fd4a1906d7
chore: mark version 0.9.18 ( #554 )
2020-01-21 17:29:33 -08:00
Pavel Feldman
80c3b46a54
feat(websockets): implement support for ws on cr/wk ( #542 )
2020-01-21 11:48:48 -08:00
Dmitry Gozman
894e91bb68
fix(api): remove $x form the api, $$ works equally good ( #544 )
2020-01-20 11:30:22 -08:00
Pavel Feldman
b0cae22c42
chore: nuke version svgs
2020-01-18 17:42:42 -08:00
Pavel Feldman
def48e7da4
feat(chromium): roll to r733125 ( #538 )
2020-01-17 20:58:41 -08:00
Dmitry Gozman
bb3f12245c
feat(network): ignore favicon requests - these are too unpredictable ( #533 )
2020-01-17 17:14:39 -08:00
Dmitry Gozman
5b1aef4c20
api: remove BrowserFetcher from api, update docs ( #487 )
2020-01-14 10:07:26 -08:00
Dmitry Gozman
b388722777
chore: update top-level api ( #479 )
...
```
require('playwright').chromium.launch(...)
window.playwrightweb.chromium.connect(...)
```
2020-01-13 17:36:46 -08:00
Pavel Feldman
61ca679cd9
chore: update browser badges
2020-01-13 15:20:30 -08:00