joelgriffith / navalia

A bullet-proof, fast, and reliable headless browser API
https://joelgriffith.github.io/navalia/
GNU General Public License v3.0
957 stars 33 forks source link

Implement mouseDown #60

Open marlonpp opened 6 years ago

marlonpp commented 6 years ago

Hi, thanks for the great work. I'm trying to test some elements that have a onMouseDown function bound to it with the Navalia click method, but the event is not triggered.

Don't know if the best option is to create a new Navalia method called mouseDown or make click work with onClick, onMouseDown and other types of events like touch.

marlonpp commented 6 years ago

I should probably use https://github.com/graphcool/chromeless/blob/master/docs/api.md#api-mousedown

joelgriffith commented 6 years ago

Hey friend! I'll keep this issue open, but you should probably be using something more vetted at this point like puppeteer or chromeless as they're under active development (I'm not pursuing further development at this time in Navalia).

If those packages don't meet your needs I'd be curious to hear your reasons as I actively contribute to them now. Thanks!