Dmitry Gozman
b70eebc4b2
chore: merge PageDelegate, FrameDelegate and ScreenshotterDelegate ( #213 )
2019-12-11 13:36:41 -07:00
Dmitry Gozman
57acdfd860
chore: reuse LifecycleWatcher between browsers ( #208 )
2019-12-11 07:17:32 -08:00
Dmitry Gozman
b4c89ca0f9
chore: unify frame lifecycle events between browsers ( #172 )
2019-12-09 16:34:42 -08:00
Dmitry Gozman
640646b794
chore(firefox): migrate to common Page ( #188 )
2019-12-09 14:53:17 -08:00
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
fc5898892b
feat(selectors): support optional "visible" property in all selectors ( #129 )
2019-12-04 13:11:10 -08:00
Dmitry Gozman
e124d44a55
chore: rework wait task to accept arbitrary task on dom world ( #126 )
2019-12-03 11:51:41 -07:00
Yury Semikhatsky
ba54ad46b3
feat(page): add Page.setJavaScriptEnabled for WebKit ( #125 )
2019-12-03 10:47:02 -08:00
Dmitry Gozman
6b3c2632e7
feat(selectors): support various selectors in waitFor methods ( #122 )
2019-12-03 10:43:13 -08:00
Dmitry Gozman
bb1433a143
feat(selectors): support various kinds of selectors ( #118 )
...
This adds support for generic "engine=body [>> engine=body]*" selector syntax
and auto-detects simple css or xpath.
2019-12-02 17:33:44 -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