compatible tool for dispatchEvent()
npm install dispatch-event-by-name
var dispatch_event_by_name = require("dispatch-event-by-name");
_ele('divResult3').innerHTML = '<span myattr=11>aaa</span>';
_ele('divResult3').firstChild.onclick = function () { done(false); };
//dispatchEventByName(el, eventName [, options] )
//options:{ bubbles, cancelable, composed, delay } | bubbles | delay
dispatch_event_by_name(_ele('divResult3').firstChild, "click", 500); //number for delay