我正在尝试打印页面上所有链接的名称。我写了下面的代码-->
SystemUtil.Run "Chrome.exe","www.timesofindia.com"
Dim obj, objects,objectnames,i
Set obj = Description.Create
obj("micclass").value = "Link"
objects = Browser("micclass:=browser").Page("micclass:=Page").ChildObjects(obj)
MsgBox Err.number
For i = 0 To obj.Count-1 Step 1
childnames = objects.getROProperty("innertext")
print childnames(i)
Next
我遇到了一般的运行错误objects = Browser("micclass:=browser").Page("micclass:=Page").ChildObjects(obj)
该行MsgBox Err.number
给出错误号-2147467259
我试图用错误号--2147467259 找出原因,但没有得到任何相关答案。请帮忙。