Commit Graph

600 Commits

Author SHA1 Message Date
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
Andrey Lushnikov
64560b1bfa
devops: drop DUMPIO from webkit test runs 2020-01-13 17:28:14 -08:00
Andrey Lushnikov
2362d38e59
devops(ci): update webkit.yml github actions 2020-01-13 17:21:56 -08:00
Joel Einbinder
0ea6e19b09
fix(test): failing ci tests (#478)
disables some failing Firefox tests
Moves newContext error checking before the context is created, to not create zombie contexts
sets CI timeout to 30 seconds
waits for `exit` instead of `close` for processes
2020-01-13 17:16:05 -08:00
Joel Einbinder
21fce85036
fix(webkit): support the readonly attribute (#476)
`readOnlyValue()` was confusingly only the `aria-readonly` value. The real readonly value was determined by reading the `canSetValueAttribute` and `enabled` states.
2020-01-13 17:15:43 -08:00
Dmitry Gozman
929b7d979b
test(selectors): should auto-detect css selector with attributes (#477) 2020-01-13 17:13:36 -08:00
Yury Semikhatsky
d529ef95d2
browser(webkit): implement Browser.navigate (#473) 2020-01-13 16:35:08 -08:00
Dmitry Gozman
8b09358a56
fix(screenshot): element screenshot should not throw when viewport is null (#472) 2020-01-13 16:29:08 -08:00
Dmitry Gozman
a88d30140c fix(geolocation): improve geolocation validation (#471) 2020-01-13 15:39:13 -08:00
Dmitry Gozman
88a11a3fbd fix(getProperties): return empty map for non-objects (#470) 2020-01-13 15:36:22 -08:00
Andrey Lushnikov
98bf9ac1d5
fix(testrunner): return correct exit code (#474) 2020-01-13 15:30:16 -08:00
Pavel Feldman
61ca679cd9 chore: update browser badges 2020-01-13 15:20:30 -08:00
Pavel Feldman
1b87ee65c9
Update README.md 2020-01-13 14:52:08 -08:00
Pavel Feldman
cead291ee1 chore: add browser badges 2020-01-13 14:45:24 -08:00
Andrey Lushnikov
883005a323
devops: fix firefox win64 upload to CDN (#469) 2020-01-13 13:55:45 -08:00
Andrey Lushnikov
5980431ec3
fix(install): await protocol generation scripts (#468)
Otherwise the output is messed up.
2020-01-13 13:55:24 -08:00
Dmitry Gozman
a1d1f26fb7 chore: more strict type checking (#466) 2020-01-13 13:33:25 -08:00
Pavel Feldman
d19f10ef42
fix(geolocation): use values from context options (#463) 2020-01-13 13:32:44 -08:00
Andrey Lushnikov
27f32a72e9
devops: migrate to new CDN for browser builds (#467) 2020-01-13 13:27:03 -08:00
Yury Semikhatsky
778ab3deff chore: replace CHROME with CHROMIUM (#465) 2020-01-13 10:13:28 -08:00
Pavel Feldman
a8b9920a14 feat(logging): log the API calls (#464) 2020-01-13 09:14:28 -08:00
Pavel Feldman
c2d95a3530
Update README.md 2020-01-13 09:05:25 -08:00
Pavel Feldman
c6d51c3f0e
Update README.md 2020-01-11 23:39:49 -08:00
Pavel Feldman
00057df92b test: uncomment more webkit tests (#461) 2020-01-11 08:37:51 -08:00
Pavel Feldman
16cedfe9da
test: rebaseline mobile viewport screenshot (#462) 2020-01-10 22:34:17 -08:00
Pavel Feldman
69fe6ece43 test: mark web sdk tests as non-core 2020-01-10 21:54:42 -08:00
Joel Einbinder
678cb1b8f7 fix(webkit): fix modifier keys for mouse events (#460) 2020-01-10 21:20:59 -08:00
Andrey Lushnikov
d5fb264b8c devops: remove --win64 flag from checkout_build_archive_upload.sh
Both `checkout_build_archive_upload.sh` and `upload.sh` scripts now
accept a `firefox-win64` browser instead of an optional `--win64` flag.

This is a preparation before introducing `webkit-wpe` parameter in these
scripts.
2020-01-11 03:15:29 +01:00
Dmitry Gozman
67e4214146 feat(navigation): early return when navigation was canceled by another one (#459)
Also added related interception tests.
2020-01-10 17:33:07 -08:00
Andrey Lushnikov
7a7ff9e994 Revert "Revert "feat(firefox): roll Firefox to r1011 (#452)""
This reverts commit a738af4603.
2020-01-11 02:32:28 +01:00
Dmitry Gozman
63f16a9ef8
fix(screenshot): provide nice error message during navigation (#456) 2020-01-10 17:25:28 -08:00
Pavel Feldman
02af0e5285 chore: bump version to 0.9.12-post 2020-01-10 16:50:14 -08:00
Andrey Lushnikov
a8c6bd66cd devops: properly handle double quotes in TG notifications
Since we send JSON, double quotes have to be escaped.
2020-01-11 01:39:22 +01:00
Andrey Lushnikov
e57c9063b6 Revert "Revert "browser(firefox): roll Firefox to 2b50ccdc8ad0c83966285352a875415a858037c2 (#451)""
This reverts commit 350b256722.

Reason: buildbots were failing to compile new FF because their
cbindgen was outdated. This is now fixed on both Mac & Win.
2020-01-11 01:20:39 +01:00
Dmitry Gozman
c77fd5e6cb
feat(pw-web): generate playwright/web.js which can be used in the browser (#455) 2020-01-10 16:03:10 -08:00
Dmitry Gozman
15b05e43bc test(emulation): should update settings during navigation (#457) 2020-01-10 15:53:48 -08:00
Joel Einbinder
a4f65c4073 fix(webkit): property accessibility values for roledescription and autocomplete (#458) 2020-01-10 15:52:34 -08:00
Andrey Lushnikov
099aa69374 devops: use only first commit line for Telegram notification messages 2020-01-11 00:35:30 +01:00
Yury Semikhatsky
fd5c872d7f fix(webkit): switch to unique loader ids (#454) 2020-01-10 15:16:06 -08:00
Yury Semikhatsky
3216e4f024 browser(webkit): make Network.requestId unique cross process (#453) 2020-01-10 12:27:18 -08:00
Pavel Feldman
350b256722 Revert "browser(firefox): roll Firefox to 2b50ccdc8ad0c83966285352a875415a858037c2 (#451)"
This reverts commit d3e127a0c1.
2020-01-10 12:19:12 -08:00
Pavel Feldman
a738af4603 Revert "feat(firefox): roll Firefox to r1011 (#452)"
This reverts commit c1f75f7833.
2020-01-10 12:17:34 -08:00
Andrey Lushnikov
c1f75f7833 feat(firefox): roll Firefox to r1011 (#452) 2020-01-10 10:54:24 -08:00
Yury Semikhatsky
138f081777 browser(webkit): make loader and frame id unique per page cross-process (#449) 2020-01-10 10:53:34 -08:00
Andrey Lushnikov
d3e127a0c1 browser(firefox): roll Firefox to 2b50ccdc8ad0c83966285352a875415a858037c2 (#451)
Review URL: c3a577c46d

With this roll, Firefox has DocumentChannel enabled by default in Desktop Firefox:
- https://phabricator.services.mozilla.com/D57898

DocumentChannel, unlike nsIHttpChannel, doesn't have a `channelId` that we
can use to attribute navigation requests (see
https://github.com/microsoft/playwright/pull/249).

The feature has to be disabled for now in PlayWright with the
`browser.tabs.documentchannel` pref until we figure how to support it.
2020-01-10 10:50:03 -08:00
Pavel
4bdbe81856 chore: shuffle screenshot tests 2020-01-09 17:45:30 -08:00
Pavel
896701b3e3 test: uncomment geolocation tests on WK 2020-01-09 17:40:50 -08:00
Pavel
cc7e77a34a feat(webkit): roll webkit to r1080 2020-01-09 17:27:54 -08:00
Joel Einbinder
b7ac026e55
Update webkit.yml
this line didn't make sense to me so i'll delete it and see what happens.
2020-01-09 17:07:22 -08:00
Pavel Feldman
4d2a503c44
feat(webkit): rebaseline Joel's pass all viewport tests PR (#440) 2020-01-09 17:06:06 -08:00