我是VBS的新手,在加载了Edge中的URL之后,我找不到如何与网页交互(比如循环功能、写东西)。举个例子,我是如何打开我的网页
dim objShell, strPath1, strAttr1, strAttr2
Set objShell = WScript.CreateObject("WScript.Shell")
strPath1 = """C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"""
strAttr1 = " -inprivate "
strAttr2 = " http://www.someWebPage.com/ "
objShell.Run strPath1 & strAttr1 & strAttr2 我发现了很多类似的东西:
Set IE = WScript.CreateObject("InternetExplorer.Application", "IE_")
IE.Visible = True
IE.Navigate "https://www.somepage.com/"使用这个对象IE,似乎可以修改表单,点击这里和那里.但它只适用于it浏览器。
我想我可以找到正确的HTLM代码,这是有用的(至少这不是我现在想要的^^ )。
你有什么建议吗?
提前谢谢
https://stackoverflow.com/questions/67179738
复制相似问题