'How to fire DOM events when testing with busterjs

How can I trigger DOM events on an element when running in an headless browser. I know I could use jQuery's trigger but as I don't use for this project I don't want to use it in the test too.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source