Commit Graph

887 Commits

Author SHA1 Message Date
Yury Semikhatsky
c57fd22382
fix(webkit): unflake Page.setContent (#786) 2020-01-31 10:08:45 -08:00
Pavel Feldman
2bf88fd178
test: start adding capability smoke tests (#784) 2020-01-31 08:57:47 -08:00
Pavel Feldman
5cb19c6265
test: extract common headful tests (#785) 2020-01-31 08:54:11 -08:00
Pavel Feldman
9a00e1d1f6
docs: update webkit.md features 2020-01-31 08:39:09 -08:00
Pavel Feldman
d05449076a
docs: update readme 2020-01-31 06:53:33 -08:00
Pavel Feldman
1f8e6e6e6b
doc: update readme 2020-01-31 06:42:29 -08:00
Pavel Feldman
1c7db46e4f
doc: update readme 2020-01-31 06:41:13 -08:00
Pavel Feldman
8a40fd0913 docs: update the readme intro sentence 2020-01-30 21:42:49 -08:00
Pavel Feldman
76c22b7c87
docs: bump Chromium version (#778) 2020-01-30 21:40:36 -08:00
Andrey Lushnikov
adc5e3b59a browser(webkit): bump WebKit to r1128 to check binary stripping 2020-01-30 19:13:41 -08:00
Andrey Lushnikov
b77b31c55c devops: strip linux binaries
The `--strip-unneeded` removes all symbols needed for library
compilation as part of a `.a` static library.
([source](https://www.technovelty.org/linux/stripping-shared-libraries.html))

So these are safe to remove and they should keep our binary
debuggable. These should save us ~100Mb unzipped.

References #658
2020-01-30 19:12:02 -08:00
Pavel Feldman
24c5df65c2
docs: add webkit build flags table (#777)
Fixes #565
2020-01-30 18:33:56 -08:00
Andrey Lushnikov
e33e4033db chore: nits to issues template 2020-01-30 18:32:05 -08:00
Andrey Lushnikov
293fc6f040 chore: remove bad issue templates 2020-01-30 18:25:07 -08:00
Andrey Lushnikov
902580bb6e chore: update issues template 2020-01-30 18:21:59 -08:00
Pavel Feldman
b289bb790b
fix(filechooser): intercept file choosers lazily (#776)
Fixes #764
2020-01-30 17:43:06 -08:00
Yury Semikhatsky
985faebd12
fix: avoid unhandled promise rejection in WKSession.send (#770) 2020-01-30 17:30:47 -08:00
Joel Einbinder
fd3a93084c
fix(webkit): roll webkit to 1127 (#775) 2020-01-30 17:24:23 -08:00
Yury Semikhatsky
735c5e6a86
browser(webkit): fix compilation on Mac (#774)
f36ec8a69a
2020-01-30 16:11:34 -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
Joel Einbinder
83b5d893ae
fix(firefox): roll firefox to 1021 (#769) 2020-01-30 14:59:22 -08:00
Arjun Attam
adc91c986c
chore(docs): fix broken link for downloaded browsers (#772) 2020-01-30 14:54:24 -08:00
Joel Einbinder
ca49d50b9c
test: disable firefox popup tests that rely on waitForLoadState (#768)
We have a race between opening a popup and calling waitForLoadState that sometimes causes waitForLoadState to timeout.
2020-01-30 14:53:38 -08:00
Joel Einbinder
13445962f6
feat(chromium): roll to r737027 (#771) 2020-01-30 14:51:36 -08:00
Yury Semikhatsky
6c58f93416
browser(webkit): simplify isolated world handling (#766) 2020-01-30 14:51:11 -08:00
Joel Einbinder
2b231c9e1b
fix(test): unflake waitForSelector when browser closes test (#767)
The waitForSelector call might not have made it into the browser by the time we disconnect, resulting in a websocket error instead of a protocol error.
2020-01-30 14:19:30 -08:00
Yury Semikhatsky
1ad6134a54
browser(webkit): ensure user worlds created when attaching to new pages (#765) 2020-01-30 13:57:41 -08:00
Joel Einbinder
f4640d145f
Revert "tests(accessibility): Remove unused browser goldens (#758)" (#763)
Not dead code, this caused these tests to fail in firefox.
Reverts #758
2020-01-30 13:38:24 -08:00
Darío Kondratiuk
d590ab93fa
tests(accessibility): Remove unused browser goldens (#758) 2020-01-30 12:07:08 -08:00
Yury Semikhatsky
1b012e50e9
fix: do actually catch worker initialization exceptions (#762) 2020-01-30 11:40:56 -08:00
Yury Semikhatsky
603b9f54dd
fix: make contentFrame cross-frame handles test pass (#761) 2020-01-30 11:04:09 -08:00
Yury Semikhatsky
eb568046eb
test: unflake owner frame test (#760) 2020-01-30 10:50:25 -08:00
Dmitry Gozman
c9544b9b46
docs: add documentation for selector engines (#752) 2020-01-30 09:08:22 -08:00
Pavel Feldman
f44d6607c3
feat(webkit): use consistent user agent for headful and headless (#756) 2020-01-29 20:12:09 -08:00
Pavel Feldman
ce7219870b
feat(webkit): roll webkit to 1124 (#736) 2020-01-29 19:13:44 -08:00
Joel Einbinder
44829d6fdf
browser(firefox): wait for pending accessibility updates (#755)
Should fix some flaky accessibility tests on Firefox for mac.
2020-01-29 18:56:11 -08:00
Pavel Feldman
bcc920c879
browser(webkit): follow-up to update inspector file locations (#754) 2020-01-29 15:15:39 -08:00
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