原始问题:
用vbs将以下findbyid转为xpath
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Document.getElementById("id").value="value"
objIE.Document.SelectSingleNode("//*[@id='id']").value="value"
用vbs将以下findbyid转为xpath
Set objIE = CreateObject("InternetExplorer.Application")
objIE.Document.getElementById("id").value="value"
objIE.Document.SelectSingleNode("//*[@id='id']").value="value"
Prev:findbyid转为xpath范例