【发布时间】:2015-09-20 14:37:18
【问题描述】:
我不知道如何点击网站上的按钮。 按钮代码是
<button ng-click="form.submit(false, frm, buyQuery, ['call'])"
ng-mouseleave="hideDir()" ng-mouseover="showDir('call')"
ng-disabled="disabledControls.buyBtn">
<i ng-class="{'mr0':chartHeight <= smallH.smallBuyBtns}"></i>
<span ng-show="chartHeight > smallH.smallBuyBtns">Call</span>
</button>
我也遇到过类似的情况,但之前不一样,我设法用代码点击它
Set form = webbrowser.Document.Body.GetElementsByTagName("form")(0)
Set button = form.GetElementsByTagName("button")(0)
button.click
很抱歉,我的问题可能很糟糕,但我是编码新手,如果需要任何其他信息来回答我的问题,请告诉我。
【问题讨论】: