Joel Einbinder
39b22b41c5
feat: make JSHandle generic ( #140 )
...
This makes it so that JSHandles and ElementHandles are aware of what types they point to. As a fun bonus, `$eval('input')` knows its going to get an HTMLInputElement.
Most of this patch is casting things where previously we just assumed ElementHandles held the right kind of node. This gets us closer to being able to turn on `noImplicityAny` as well.
#6
2019-12-05 16:26:09 -08:00
Dmitry Gozman
ffaf7326ab
chore: put remoteObject directly on JSHandle ( #113 )
2019-12-02 13:12:28 -08:00
Dmitry Gozman
113ffd6808
chore: reuse ConsoleMessage between browsers ( #116 )
2019-12-02 13:01:01 -08:00
Dmitry Gozman
8efd258e40
chore: encapsulate dom-related logic to DOMWorld, part 1 ( #112 )
2019-11-28 12:50:52 -08:00
Dmitry Gozman
961556a596
chore: cleanup multiple definitions and types ( #109 )
2019-11-27 16:03:51 -08:00
Dmitry Gozman
c3393039b0
chore: reuse ElementHandle between browsers ( #108 )
2019-11-27 16:02:31 -08:00
Dmitry Gozman
b2c31b7317
chore: reuse network Request and Response between browsers ( #101 )
2019-11-27 12:44:12 -08:00
Dmitry Gozman
490db5bc18
chore: reuse JSHandle between browsers ( #103 )
2019-11-27 12:41:26 -08:00
Dmitry Gozman
06ba0f7a7f
chore: reuse ExecutionContext between browsers ( #102 )
2019-11-27 12:39:53 -08:00
Dmitry Gozman
dfc5592910
chore: reuse Frame between browsers ( #100 )
2019-11-27 12:38:26 -08:00
Pavel Feldman
72b1bb783b
feat(chromium): roll chromium to r719491, lint, test ( #99 )
2019-11-26 22:53:34 -08:00
Dmitry Gozman
35c27bfa45
chore: remove Frame dependecies on the chromium-specific things ( #95 )
2019-11-26 16:19:43 -08:00
Dmitry Gozman
c48b39345a
chore: merge DOMWorld into Frame ( #93 )
...
This allows us to reuse Frame between browsers.
2019-11-26 15:37:25 -08:00
Pavel Feldman
64d3e83ddf
chrome(filechooser): align file chooser implementations ( #88 )
2019-11-26 14:29:21 -08:00
Dmitry Gozman
3decf1f996
chore: move waitFor methods from DOMWorld to Frame ( #87 )
...
This almost removes the DOMWorld, so we can unify them across the browsers.
2019-11-26 11:16:20 -08:00
Dmitry Gozman
6e78e12d90
chore: move meaningful methods with a single callsite from DOMWorld to Frame ( #68 )
2019-11-26 08:57:53 -08:00
Dmitry Gozman
038e24c089
chore: common types for evaluate functions ( #72 )
2019-11-25 15:06:52 -08:00
Dmitry Gozman
025c1fc7bc
feat(engines): introduce xpath engine, switch $x to use it ( #64 )
2019-11-22 17:27:09 -08:00
Dmitry Gozman
a9cd015fdb
feat(engines): introduce a css selector engine and a way to query it ( #50 )
2019-11-22 15:36:17 -08:00
Dmitry Gozman
57bbd81824
chore: introduce injected source lazily evaluated by execution context ( #42 )
2019-11-21 14:43:30 -08:00
Pavel Feldman
48a78b2c8a
chore: remove page.queryObjects API ( #31 )
2019-11-20 09:28:40 -08:00
Pavel Feldman
9ba375c063
Initial commit
2019-11-19 10:58:15 -08:00