Commit Graph

488 Commits

Author SHA1 Message Date
Dmitry Gozman
3b202fb4b8 fix(webkit): handle frameAttached event (#227) 2019-12-12 17:50:37 -08:00
Pavel Feldman
856787a8e6 feat(webkit): roll to 1029 (#222) 2019-12-12 08:59:33 -08:00
Pavel Feldman
e42e361d20
feat(webkit): use new bypass csp method (#207) 2019-12-10 19:26:13 -08:00
Andrey Lushnikov
329b34e894
feat: implement mac keyboard (#197)
This list contains all of the default keyboard shortcuts for macos, and the Objective-C selector that they trigger on the [NSStandardKeyBindingResponding](https://developer.apple.com/documentation/appkit/nsstandardkeybindingresponding/3005237-moveleft?language=objc). We need these for basic keyboard functionality like ArrowUp and ArrowDown to work on WebKit for mac. For other browsers on mac, the same list can be used to enable better mac keyboard emulation.

The list was made by constructing NSEvents on a mac and seeing what selectors they triggered on an NSTextView. The conversion from NSEvents to DOM codes was done partially by hand as the code that does this conversion lives across many files in WebKit. There may be some errors or missing commands, but in general this should be a more faithful mac keyboard emulation than what we do in Chromium currently.

Notably absent from the list are Cut, Copy, Paste, Paste Special, Undo, and Redo. They are handled in a slightly different way.
2019-12-10 13:22:01 -08:00
Pavel Feldman
44d6f608ef feat(webkit): use webkit worlds (#194) 2019-12-09 23:24:12 -08:00
Dmitry Gozman
b4c89ca0f9
chore: unify frame lifecycle events between browsers (#172) 2019-12-09 16:34:42 -08:00
Pavel
1377be2b27 fix: fix new jpeg and png deps 2019-12-06 17:14:08 -08:00
Yury Semikhatsky
10edb02fb6 feat(webkit): roll to 1016 2019-12-06 16:30:59 -08:00
Pavel Feldman
bb1888c86e feat(screenshots): make them work everywhere (#164) 2019-12-06 11:33:24 -08:00
Joel Einbinder
57313e3f73
feat: basic d.ts file (#161)
`protocol.d.ts` had to move to `protocol.ts` otherwise typescript refuses to include it in the out directory.

Removed the old d.ts generator. It will need to be rewritten anyway.

These new types include private stuff that they probably shouldn't, and are missing documentation. I'll follow up with a better d.ts generator later.

#6
2019-12-06 11:28:23 -08:00
Joel Einbinder
7af47b6fcb mark: v0.9.1-post 2019-12-05 21:27:17 +00:00
Joel Einbinder
4d768d6bc3 chore: mark version v0.9.1 2019-12-05 21:10:13 +00:00
Dmitry Gozman
0a9377e0a9 chore: prepare to npm publish (#148)
- setup .npmignore;
- index.js selecting a browser;
- minor package.json tweaks;
- example script which works against npm pack'ed module.
2019-12-05 11:29:16 -08:00
Yury Semikhatsky
5061f70300
feat(webkit): roll to 1011 (#145) 2019-12-04 23:25:53 -07:00
Pavel Feldman
f6e9ea9aec feat(webkit): roll to 1009 2019-12-04 17:59:56 -08:00
Joel Einbinder
9f603c49fb
feat: easy download (#56) 2019-12-04 17:58:38 -08:00
Pavel
65a52294e2 feat(webkit): roll webkit to 1008 2019-12-04 16:14:48 -08:00
Joel Einbinder
492f539310
chore(firefox): lint against the juggler protocol (#94) 2019-12-04 10:33:29 -08:00
Yury Semikhatsky
fa476fa729
chore(webkit): bump revision to 1004 (#127) 2019-12-03 14:41:35 -07:00
Pavel Feldman
0ffd99bdac feat(webkit): roll webkit to 1003 2019-12-02 16:40:40 -08:00
Pavel Feldman
cf9c4d153a feat(webkit): implement file chooser interception (frontend) (#98) 2019-11-27 13:50:24 -08:00
Joel Einbinder
494347e009 fix(build): only ever run webpack in dev mode (#105) 2019-11-27 13:47:58 -08:00
Pavel Feldman
72b1bb783b
feat(chromium): roll chromium to r719491, lint, test (#99) 2019-11-26 22:53:34 -08:00
Joel Einbinder
4d6d81e60e
feat(webkit): roll to 1001 (#96) 2019-11-26 17:13:58 -08:00
Pavel Feldman
a4e24c718b
feat(cookies): move cookie management to BrowserContext (#82) 2019-11-26 11:23:13 -08:00
Pavel Feldman
cb72348dfc
feat(chromium): roll chromium to r718525 (#80) 2019-11-25 20:04:06 -08:00
Andrey Lushnikov
d4d0654666
feat(firefox): roll Firefox to r1003 (#78) 2019-11-25 16:49:15 -08:00
Pavel Feldman
fe09a075f9
feat(ff): roll to r1001 (#76) 2019-11-25 15:33:39 -08:00
Dmitry Gozman
025c1fc7bc feat(engines): introduce xpath engine, switch $x to use it (#64) 2019-11-22 17:27:09 -08:00
Andrey Lushnikov
5b1c992f90
chore: bump min engine version to 10.17.0 2019-11-22 17:24:26 -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
Joel Einbinder
6fcb4d2f30 feat: remove all environment variables and references to puppeteer-core (#47)
* feat: remove all environment variables and references to puppeteer-core

* fixup install
2019-11-21 21:17:23 -08:00
Pavel Feldman
f223a98e3d
feat(chromium): roll Chromium to r717627 (#49) 2019-11-21 21:16:00 -08:00
Dmitry Gozman
57bbd81824
chore: introduce injected source lazily evaluated by execution context (#42) 2019-11-21 14:43:30 -08:00
Joel Einbinder
206cf7b83f feat(webkit): pass all keyboard tests (#39)
Add `keyboard.sendCharacter` and fixes up all of the keyboard tests.

Drive-by to actually allow selectively installing browsers.
2019-11-20 16:39:12 -08:00
Andrey Lushnikov
308d602f06 chore: update version 2019-11-20 16:23:40 -08:00
Pavel Feldman
b4b7b6b96c
fix: build include paths (#32) 2019-11-20 09:10:41 -08:00
Pavel Feldman
9ba375c063 Initial commit 2019-11-19 10:58:15 -08:00