Dmitry Gozman
88aea0a886
fix: fix races in didClose and didDisconnect across browsers ( #182 )
...
Also merge initialize and swapSessionOnNavigation in webkit.
2019-12-09 10:16:30 -08:00
Dmitry Gozman
b3817aab2a
chore(webkit): remove most session usages from Page ( #181 )
...
These are moved to FrameManager, so that we can reuse Page between browsers.
2019-12-09 10:48:54 -07:00
Dmitry Gozman
0d0f6b7d03
fix(webkit): improve target swap handling ( #175 )
...
- Fix "page closed twice" race.
- Do not fire 'disconnected' on swapped out sessions.
- Use a different error for commands sent to swapped out targets.
This allows callers to detect this situation and retry/throw/catch.
- Restore more state on swap: extra http headers, user agent, emulated media.
2019-12-07 16:58:23 -08:00
Yury Semikhatsky
02e29219fd
fix(webkit): make go back/forard return null on error ( #171 )
2019-12-06 16:38:23 -08:00
Pavel Feldman
bb1888c86e
feat(screenshots): make them work everywhere ( #164 )
2019-12-06 11:33:24 -08:00
Dmitry Gozman
e992c7fa7d
chore: unify screenshot handling between browsers, introduce Screenshotter everywhere ( #156 )
2019-12-05 14:48:39 -08:00
Dmitry Gozman
51ca756efe
chore: encapsulate target business in Browser class ( #151 )
...
Page and BrowserContext are now closer to be reused between browsers.
2019-12-05 14:11:48 -08:00
Yury Semikhatsky
25af050bd4
feat(webkit): add page back/forward commands ( #144 )
2019-12-05 08:32:52 -08:00
Pavel Feldman
e1c4eaae28
chore: make targets chromium feature ( #137 )
2019-12-04 16:12:43 -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
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
76ab83f581
chore: reuse Dialog between browsers ( #115 )
2019-12-02 11:53:23 -07: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
Pavel Feldman
56b4f009ac
chore: refactor the file chooser api ( #107 )
2019-11-27 14:26:30 -08:00
Pavel Feldman
cf9c4d153a
feat(webkit): implement file chooser interception (frontend) ( #98 )
2019-11-27 13:50:24 -08:00
Dmitry Gozman
490db5bc18
chore: reuse JSHandle between browsers ( #103 )
2019-11-27 12:41:26 -08:00
Joel Einbinder
49f8963bf1
feat(webkit): dialogs ( #75 )
2019-11-27 12:24:52 -08:00
Pavel Feldman
a4e24c718b
feat(cookies): move cookie management to BrowserContext ( #82 )
2019-11-26 11:23:13 -08:00
Dmitry Gozman
cefebb3938
chore: use types for eval functions in webkit ( #79 )
2019-11-26 07:53:48 -08:00
Dmitry Gozman
432116ba80
chore: move Mouse to common input with RawMouseImpl per vendor ( #73 )
2019-11-26 07:52:55 -08:00
Pavel Feldman
2e581f1625
feat(emulate): implement emulateMedia color scheme in FF ( #71 )
2019-11-25 15:00:04 -08:00
Dmitry Gozman
d5ad3960c3
chore: move Keyboard to common, with RawKeyboardImpl per vendor ( #69 )
2019-11-25 11:19:20 -08:00
Yury Semikhatsky
ef847b1941
fix(page): support multiple bootstrap scripts ( #59 )
2019-11-22 16:25:36 -08:00
Pavel Feldman
ef464e447f
feat(input): dblclick/trippleclick feature parity ( #60 )
2019-11-22 14:46:34 -08:00
Yury Semikhatsky
ac01262c88
feat(page): support Page.evaluateOnNewDocument for WebKit ( #55 )
2019-11-22 13:14:07 -08:00
Pavel Feldman
508c1960dd
chore: unify emulateMedia APIs ( #53 )
2019-11-22 11:24:56 -08:00
Joel Einbinder
92a6500b23
feat(webkit): page.fill and friends ( #40 )
2019-11-20 16:57:37 -08:00
Pavel Feldman
f9a89eb313
chore: split vendor APIs ( #38 )
2019-11-20 15:16:57 -08:00
Pavel Feldman
4b13b5e3c6
chore: remove page.pdf API ( #25 )
2019-11-19 13:50:23 -08:00
Pavel Feldman
9ba375c063
Initial commit
2019-11-19 10:58:15 -08:00