Dmitry Gozman
a567123596
feat: do not wait for first page in non-persistent mode ( #939 )
2020-02-13 10:51:17 -08:00
Dmitry Gozman
c2ab1e31f7
browser(firefox): misc fixes ( #983 )
...
- crash support;
- keydown supports text by committing composition;
- cross-page frame handling;
- security check for node adoption.
2020-02-13 10:46:46 -08:00
Joel Einbinder
d367a2ed3a
chore(tests): log protocol messages when a test fails on the bots ( #963 )
...
Similarly to how we handle stdio, this captures all protocol messages and logs them when a test fails. Great for when debugging tests in parallel or for bot failures!
Currently I made `DEBUGP=true` turn this on locally, and turned it on always for the CI. Open to
suggestions for a better environment variable. I would turn it on by default always, like the stdio logging, but it adds an enormous amount of noise to our error messages.
2020-02-12 22:35:06 -08:00
Pavel Feldman
8abf35c8e4
feat(webkit): roll webkit to 1148 ( #971 )
2020-02-12 21:25:17 -08:00
Andrey Lushnikov
d735de5347
feat: do not let users pass userDataDir
to browserType.launch()
( #974 )
...
We now have a separate method for this - `browserType.launchPersistent`.
This will probably save our users quite some time.
2020-02-12 19:32:23 -08:00
Joel Einbinder
b7f48f4603
browser(webkit): layout before returning DOM.getContentQuads ( #970 )
...
Otherwise we can get stale quads. Causes failures of "ElementHandle.boundingBox should work with page scale" test.
6835789cf2
2020-02-12 18:43:56 -08:00
Andrey Lushnikov
b188f397cf
devops: do not assume that checkout exists
...
We will prepare it later on, so the check itself is not needed.
2020-02-12 18:19:00 -08:00
Pavel Feldman
5dbc8801e4
browser(webkit): print friendly tz names ( #969 )
2020-02-12 17:51:24 -08:00
Andrey Lushnikov
c19a7bef07
chore: remove stub types definition
...
jpeg.js provides their own types - no need to import @types
version.
2020-02-12 17:46:21 -08:00
Pavel Feldman
012bf671b8
feat(webkit): emulate timezone on webkit ( #968 )
2020-02-12 17:02:59 -08:00
Andrey Lushnikov
d26f47bb3b
fix(platform): properly handle websocket error events ( #967 )
2020-02-12 16:59:19 -08:00
Dmitry Gozman
fbce2908ad
test: unskip passing Firefox tests ( #966 )
2020-02-12 16:27:45 -08:00
Andrey Lushnikov
aa60a7cebd
docs(api.md): fix nit
2020-02-12 16:18:05 -08:00
Andrey Lushnikov
bfaf191c98
test: add missing tests ( #965 )
...
Chromium tests on Linux now call all our API methods and events at least once!
2020-02-12 16:13:48 -08:00
Dmitry Gozman
1d84f38e5e
fix(input): ensure input works as expected with page scale ( #962 )
2020-02-12 16:13:21 -08:00
Joel Einbinder
ee9748ba2f
feat(chromium): roll chromium to r740847 ( #964 )
...
Notable patch:
- DevTools: Don't interrupt for Runtime.callFunctionOn, Runtime.runScript - https://chromium-review.googlesource.com/c/chromium/src/+/2050850
This roll should unflake Chromium workers.
2020-02-12 16:04:01 -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
44941ad060
browser(webkit): emulate time zone ( #960 )
2020-02-12 14:58:39 -08:00
Andrey Lushnikov
1945ed7232
devops: run API coverage tests on linux ( #958 )
2020-02-12 14:43:13 -08:00
Dmitry Gozman
211cba4934
browser(webkit): use css (not dip) coordinates for input and content quads ( #957 )
...
a32289ca5d
2020-02-12 14:10:23 -08:00
Andrey Lushnikov
79c47633b7
feat(webkit): roll to r1145 ( #954 )
...
References #942
2020-02-12 13:52:31 -08:00
Andrey Lushnikov
5956df58f8
devops: re-factor github workflow internal structure ( #956 )
2020-02-12 13:52:06 -08:00
Dmitry Gozman
5f24205922
test: add a test for interception + service worker ( #951 )
2020-02-12 13:02:27 -08:00
Joel Einbinder
a4d0187cb8
chore: mac build bots ( #734 )
2020-02-12 12:30:47 -08:00
Andrey Lushnikov
1f29930201
devops: add docs & lint github workflow ( #953 )
2020-02-12 11:50:20 -08:00
Andrey Lushnikov
0de625d3ac
Revert "devops: add docs & lint github workflow"
...
This breaks YML syntax in GH workflows
2020-02-12 11:45:16 -08:00
Andrey Lushnikov
7ec7f72a74
devops: add docs & lint github workflow
2020-02-12 11:44:28 -08:00
Andrey Lushnikov
9bbaa32e12
browser(webkit): remove assert ( #952 )
2020-02-12 11:38:38 -08:00
Dmitry Gozman
3007541315
browser(webkit): do not intercept requests on the way to service worker ( #948 )
2020-02-12 08:48:47 -08:00
Pavel Feldman
c8c4356d7c
test: add setInputFiles input event test ( #944 )
2020-02-11 20:18:41 -08:00
Pavel Feldman
d05feec740
feat(active): emulate active state on webkit ( #941 )
2020-02-11 19:10:57 -08:00
Andrey Lushnikov
0d16d144b2
fix(firefox): rely on bundled firefox preferences ( #943 )
...
Since Firefox r1027 we bundle preferences alongside with build.
Fixes #857
2020-02-11 19:10:02 -08:00
Dmitry Gozman
da30847c83
feat(firefox): apply emulation to all pages in the browser context ( #931 )
2020-02-11 18:52:01 -08:00
Pavel Feldman
90367c1f66
browser(webkit): emulate active and focused state ( #940 )
2020-02-11 17:38:41 -08:00
Dmitry Gozman
f25a27a0a4
test: add a test for bounding box with page scale ( #935 )
...
Does not work on WebKit, because it uses device-independent pixels instead of css pixels for content quads.
2020-02-11 17:04:49 -08:00
Pavel Feldman
ce382137f3
browser(webkit): disregard dpi on windows ( #938 )
2020-02-11 16:38:21 -08:00
Dmitry Gozman
d37b67a833
browser(firefox): do not wait for initial navigation in default context ( #937 )
...
0a70be2bc6
2020-02-11 16:25:35 -08:00
Andrey Lushnikov
efa567d1b4
devops: fix firefox preferences build on mac
2020-02-11 16:22:31 -08:00
Andrey Lushnikov
451ec729b4
feat(chromium): roll Chromium to r740289 ( #936 )
2020-02-11 15:25:59 -08:00
Pavel Feldman
20e2bac857
test: fix flaky page event test
2020-02-11 15:19:43 -08:00
Pavel Feldman
53237009ad
feat($wait): make $wait a shortcut for waitForSelector ( #932 )
2020-02-11 14:51:09 -08:00
Andrey Lushnikov
3a32b14f32
devops: bundle firefox preferences alongside with build.
2020-02-11 14:42:04 -08:00
Joel Einbinder
6105d8a26a
fix(tests): fix test that was leaking a context ( #933 )
2020-02-11 14:15:30 -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
Dmitry Gozman
9ea8f49cd1
browser(firefox): attach to all pages in the browser context ( #928 )
...
- introduce BrowserContext abstraction;
- attach to all pages from owned browser contexts on creation;
- move page emulation to PageTarget/FrameTree, away from sessions and agents;
- remove explicit enable methods, replaced by Page.ready event;
- pass browser context options on creation.
c73fb4450e
2020-02-11 11:32:37 -08:00
Pavel Feldman
8a35f4023c
fix(events): deliver page.close upon disconnect in FF ( #929 )
2020-02-11 11:13:08 -08:00
Dmitry Gozman
c69dccf7c1
feat(click): use browser-provided scrollIntoViewIfNeeded ( #893 )
2020-02-11 10:30:09 -08:00
Pavel Feldman
72b9cf010e
feat(context): introduce BrowserContext close event ( #918 )
2020-02-11 10:27:19 -08:00