use javascript to trigger code example
Example: trigger event javascript
// Simple trigger event
document.querySelector(theElem).dispatchEvent(new Event('mouseover'))
// Simple trigger event
document.querySelector(theElem).dispatchEvent(new Event('mouseover'))