dimanche 6 décembre 2015

Dispatch native DOM event in Webdriver.io

Hi is there a way how to dispatch DOM events on elements? Like for example in runtime JS would be achieved by:

var el = document.getElementById("some-id") var event = new Event('change'); el.dispatchEvent(event);

Aucun commentaire:

Enregistrer un commentaire