|
如图,我想识别出网页中的ActiveX控件
用spy的结果,page和AcxCheckBox之间还有一个WinObject,为什么呢?
还有就是,我用描述性编程来取得网页上的ActiveX对象,如下
' browser description
Set browser_des = description.Create
browser_des("micClass").value = "Browser"
browser_des("url").value = test_url
browser_des("application version").value = "internet explorer 6"
' page description
Set page_des = description.Create
page_des("micClass").value = "Page"
' activex object description
Set acx_des = description.Create
acx_des("micclass").value = "ActiveX"
Set acxObjects = Browser(browser_des).Page(page_des).ChildObjects(acx_des)
可acxObjects中的对象都是WebElement,请问为什么?
|
|