crystal-loot / selenium.cr

Selenium library for Crystal
https://crystal-loot.github.io/selenium.cr/
MIT License
24 stars 7 forks source link

Add ability to move to element #11

Closed matthewmcgarvey closed 3 years ago

matthewmcgarvey commented 3 years ago

https://gist.github.com/fernandes/9f59addd65a039b829f5a8a7bded796e

Right now you have to do manual calculations in order to move the cursor over an element. To trigger hover states that is way too complicated for users. Add a method that takes in an element and will move the cursor over it.

matthewmcgarvey commented 3 years ago

Completed by https://github.com/matthewmcgarvey/selenium.cr/commit/44cc85eaffa4b1c0bc7ad22c48012d2799552f2c

Thanks for figuring this out @fernandes! 🎉

fernandes commented 3 years ago

awesome! glad it helped! 😄 cheers!