【发布时间】:2015-06-10 08:19:52
【问题描述】:
我在这样的网站上有一个按钮
<button>
Like
</button>
有谁知道如何使用 VBScript 找到并单击此按钮? 由于他没有身份证或其他东西,我不知道如何找到按钮。
【问题讨论】:
-
添加了一点说明并更改了标题,否则问题看起来很好。
标签: vbscript
我在这样的网站上有一个按钮
<button>
Like
</button>
有谁知道如何使用 VBScript 找到并单击此按钮? 由于他没有身份证或其他东西,我不知道如何找到按钮。
【问题讨论】:
标签: vbscript
看来我是在回答我自己的问题。搜索得越多,学得越快。
Set Butlike = IE.Document.getElementsByTagName("button")
if btn.textContent= "Like" then
btn.Click()
End if
【讨论】: