Awesomium Getting and clicking a Tags attribute
问题 I'm having an issue clicking a button by the tag name and attribute. I can click it using the buttons class with the following: public void Event(string getElementQuery, string eventName) { Control.ExecuteJavascript(@" function fireEvent(element,event) { var evt = document.createEvent('HTMLEvents'); evt.initEvent(event, true, false ); // event type,bubbling,cancelable element.dispatchEvent(evt); } " + String.Format("fireEvent({0}, '{1}');", getElementQuery, eventName)); } private void Reload