Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<span id="lblCommande">Bon de commande</span></a>| <a href="retour.aspx">
这是我想使用按钮“单击”的链接。我知道如何使用此按钮单击按钮: WebBrowser.OleObject.Document.GetElementByID('ID HERE').Click; 但这不适用于链接。有任何想法吗?
WebBrowser.OleObject.Document.GetElementByID('ID HERE').Click;
好的,我找到了。就是这样: WebBrowser.OleObject.Document.GetElementByID('lblcommande').Click;
WebBrowser.OleObject.Document.GetElementByID('lblcommande').Click;