15 Commits

Author SHA1 Message Date
CanadaHonk
d0328554cc lib/cdp: defer importing ws 2023-01-29 18:36:18 +00:00
CanadaHonk
fe715333b5 cdp: handle pipe write errors better 2023-01-28 12:28:08 +00:00
CanadaHonk
870b6e5b40 cdp: don't try to send with ws when closed 2023-01-28 12:11:15 +00:00
CanadaHonk
efff1770e5 cdp: handle stdio sending when closed 2023-01-28 12:11:04 +00:00
CanadaHonk
1a74923cff cdp: don't throw error on closed send 2023-01-28 12:10:36 +00:00
CanadaHonk
02cce39e44 lib/cdp: rewrite onMessage for internals 2023-01-26 23:08:09 +00:00
Oj
4bb5ff2932 chore: fix errors from previous 2023-01-19 14:26:13 +00:00
阿良仔
ca2d46d209
refactor: use a standalone logger module instead of attaching it to global (#40) 2023-01-18 12:30:02 +00:00
CanadaHonk
c4adec4dfd cdp: fix using WS with chromium 2023-01-18 08:43:52 +00:00
CanadaHonk
85884fe32b cdp: use browser target for WS 2023-01-08 13:41:48 +00:00
CanadaHonk
b249ced7f1 cdp: warn in console on CDP errors 2023-01-07 17:07:42 +00:00
Oj
c15dca1967 cdp: make logging available via optional cli flag 2023-01-05 16:01:54 +00:00
CanadaHonk
04ff8d8d40 cdp: return protocol errors 2023-01-02 11:20:34 +00:00
CanadaHonk
136048ebf9 cdp: add internal close api 2022-12-30 22:12:35 +00:00
CanadaHonk
f46e3f3ca9
Total internal rewrite (#7)
* cdp: initial add

* cdp: fix not retrying for port, and firefox

* major internal rewrite

* roadmap: update for rewrite

* package: use correct deps for rewrite

* chore: organise into dirs

* chore: fix imports

* chore: change versioning to 0.x.y

* firefox: fix error when window size is undefined
2022-12-16 23:20:03 +00:00