VBS 脚本语言模拟网页按钮点击
<div class="bb">
<a onclick="check()" style="cursor: pointer;"> </a>
</div> 抓取第一个按钮
<div class="bb">
<input type="button" class="button_a" value="同 意"
onclick="agreehome();" style="cursor: pointer;" />
<input type="button" class="button_a" value="不同意"
onclick="rethome()" style="cursor: pointer;" />
</div>抓取第二个按钮
<a href="more_test.shtml" class="aa">继 续</a>抓取第三个按钮
<a href="download_test.shtml" class="button_e"><img
src="../images/icon05.gif" /><span class="aa">下载测速</span>
<p class="clear bb">您可以通过下载测速功能测出宽带的近似速度</p>
</a>
抓取第四个按钮
<a href="#" class="button_b fb" id="startTest" onclick="startTest();">开始</a><a
href="#" class="button_b fb" id="stopTest" onclick="stopTest();">取消</a>
抓取地五个按钮
能帮忙看看如何定位到这几个元素吗,没有ID和name 然后我按照标签定位好像不可以 求解,谢谢
这是那个网站 http://210.22.124.135:9383/unicom/speedtest/index.shtml