Commit Graph

1000 Commits

Author SHA1 Message Date
Dmitry Gozman
0e6b44d337
feat(selectors): selectors.register accepts function (#753) 2020-01-29 15:13:43 -08:00
Pavel Feldman
87abfe02a4
browser(webkit): roll to WebKit ToT 1/29/2020 (#737) 2020-01-29 14:46:05 -08:00
Yury Semikhatsky
afc02225d8
browser(webkit): do not crash when opening inspector on mac (#751) 2020-01-29 14:01:52 -08:00
Yury Semikhatsky
6faf74bc95
fix: move offline/cache/interception switches to BrowserContext (#748) 2020-01-29 12:51:14 -08:00
Joel Einbinder
9a126da6f3
feat: lower the engine requirement to node 10.15.0 (#750)
Some people are still on 10.15, like the Google cloud. We can relax our supported node version a little bit to support them.
2020-01-29 11:58:29 -08:00
Dmitry Gozman
7ea4110987
browser(webkit): expose worker's owner frame (#694)
549289d2dd
2020-01-29 11:57:22 -08:00
Andrey Lushnikov
e64fd173bb devops: fix firefox building script on Mac 10.15.1 2020-01-29 11:55:29 -08:00
tsuemura
fc93b886d9
fix: typo (#740) 2020-01-29 09:40:13 -08:00
Darío Kondratiuk
a65bf4179f
test(browsercontext): cookies() is a BrowserContext function (#741) 2020-01-29 09:39:43 -08:00
Pavel Feldman
492304be41
feat(firefox): roll firefox to r1020 (#735)
Fixes #705
2020-01-28 22:10:12 -08:00
Joel Einbinder
b68a88a3fc
test: enable passing modifiers test (#733)
This test passes. Maybe at some point it failed on mac, but that has been fixed for a long time.
2020-01-28 18:19:59 -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
Joel Einbinder
184b25ff7b
chore: windows bots via github actions (#678)
Mac will come in a follow up!

As a drive-by, removed npm build everywhere, because npm install already runs build.
2020-01-28 18:04:51 -08:00
Joel Einbinder
4a3bd6008b
fix(test): fix race in confusing confuse with previous navigation test (#730) 2020-01-28 17:25:07 -08:00
Yury Semikhatsky
89a93113f0
chore(webkit): bump webkit revision to 1120 (#727) 2020-01-28 16:17:40 -08:00
Joel Einbinder
5e5d1933b7
test: don't ignore random arguments (#726)
This test was ignoring some very important arguments depending on the browser! The comment about `--enable-automation` was a lie. I changed it to ignore the userDataDir argument, which should be safe.
2020-01-28 15:03:10 -08:00
Yury Semikhatsky
4c25180912
chore(webkit): do not call setPauseOnStart for each target (#725) 2020-01-28 14:51:05 -08:00
Yury Semikhatsky
4b0ce1de2a
browser(webkit-wpe): do not preload about:blank into popups (#724) 2020-01-28 14:46:26 -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
Pavel Feldman
7af1d12d25 browser(firefox): use unguessable web socket address (#722)
References #705
2020-01-28 14:03:19 -08:00
Yury Semikhatsky
460527d8cb fix(webkit): do not poll readyState if target is paused before first navigation (#721) 2020-01-28 14:00:36 -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
Davy Duperron
62f4ed6b6a feat(unit): add click test on animated target (#655) 2020-01-28 13:26:26 -08:00
Dmitry Gozman
c04ad140f3 feat(launcher): gracefully close browser on sigint (#650) 2020-01-28 13:07:53 -08:00
Dmitry Gozman
324874962c fix(webkit): make frames detect their initial load state (#690) 2020-01-28 13:05:38 -08:00
Pavel Feldman
19da86b4c9 browser(firefox): amend method & postData upon continue (#716) 2020-01-28 13:04:09 -08:00
Yury Semikhatsky
38b5f76d6e fix(test): wait for load state before checking opener of popup (#714) 2020-01-28 11:27:14 -08:00
Dmitry Gozman
2bef4aea03
feat(api): introduce selectors.register method (#701) 2020-01-28 11:20:34 -08:00
Andrey Lushnikov
9cd61571f1
devops: add auto-rebase github action
The action is triggered with a `/rebase` comment.

Details: https://github.com/cirrus-actions/rebase
2020-01-28 11:14:04 -08:00
Yury Semikhatsky
2ddc987854 fix(webkit): initialize popups on start (#693) 2020-01-28 11:07:35 -08:00
Sam Yamashita
a64fc0e45f chore: fix missing device definitions (#708)
Fixes #606
2020-01-28 10:39:54 -08:00
Mathias Bynens
9554ef49b7 docs: make individual FAQ items linkable (#712) 2020-01-28 10:33:17 -08:00
Vignesh Shanmugam
90d84e8879 docs(api): fix cdp session creation example (#709) 2020-01-28 07:54:41 -08:00
Damian Senn
ff302354bb chore: fix package typo in packages README (#707) 2020-01-28 07:52:42 -08:00
Yang Guo
53cdbc5688 docs: clarify relationship to Puppeteer (#711) 2020-01-28 07:23:01 -08:00
Pavel Feldman
45e88f7b85 browser(webkit): amend method & postData upon continue (#702) 2020-01-27 23:26:34 -08:00
Jon Perl
023fa01e32 fix: playwright-core types (#699)
Resolves #696 

Relates to https://github.com/microsoft/playwright/pull/692
2020-01-27 23:22:48 -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
54f442e0f4
fix: properly expose top-level devices (#698) 2020-01-27 17:21:39 -08:00
Yury Semikhatsky
e9515f46d2 browser(webkit): pause popups on start (#691) 2020-01-27 17:04:16 -08:00
Dmitry Gozman
89b5d2f7be
fix(setContent): manually reset lifecycyle for all browsers at the right moment (#679) 2020-01-27 16:51:52 -08:00
Dmitry Gozman
aa2ecde20f browser(webkit): make popups functional in mac embedder (#689) 2020-01-27 15:41:01 -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