I have a JavaScript heavy Rails application that I am testing in watir. I have two specific testing requirements:
- I need to simulate a mouse move to a specific area of ββthe screen (or at least trigger an onmouseover event for a div)
- Evaluate a JavaScript snippet after this happens to see if the flag is set correctly
I could not figure out how to do this in watir. Any ideas on how to do this?
source
share