我已将skybound gecckofx集成到我的应用程序中。我能够填补文本geckofx按钮点击
GeckoElement username = null;
username = checkDoc.GetElementById("ctl00_contentPlaceHolder_txtUserName");
username.SetAttribute("value", "[email protected]");
,但我无法点击按钮
GeckoElement button1 = null;
button1 = checkDoc.GetElementById("ctl00_contentPlaceHolder_lbtnLogin");
button.click() // there is no function by the name on click on the button
Document.getHtmlelementbyid(字符串ID)的名称;或者具有点击功能。 – Tearsdontfalls 2013-02-21 16:26:06
我检查过,GeckoElement上没有点击事件。我使用skybound.gecko dll作为参考 – 2013-02-21 18:18:39
你使用哪个版本?下载最新的,并会有一个事件https://bitbucket.org/geckofx/geckofx-18.0/downloads/GeckoFx-Windows-18.0-0.1.zip – Tearsdontfalls 2013-02-21 19:13:41