OnetapInc / chromy

Chromy is a library for operating headless chrome. 🍺🍺🍺
MIT License
605 stars 41 forks source link

[Feature Request] Be compatible with Nightmare API #79

Open TechQuery opened 6 years ago

TechQuery commented 6 years ago

I suggest Chromy to be compatible with Nightmare API, so that it can execute JavaScript codes recorded by DayDream (Chrome extension).

kensoh commented 6 years ago

It'll probably be much easier for someone who can spare the time, to fork the DayDream open-source project and update its syntax to generate Chromy API code - https://github.com/segmentio/daydream

Otherwise for Chromy to be compatible to another API is a huge effort to maintain, and after this there will be newer requests on compatibility with Puppeteer API or other API, which is a bottomless pit. That will slow down Chromy iteration speed for most of Chromy's existing user base.

Would be better that someone creates a recorder using DayDream as the base, to work for Chromy. This allows the recorder and Chromy to iterate separately and accelerate towards stable state in the shortest time. Just my thoughts from a 3rd-person..