麦克
答案 0 :(得分:0)
Function test(byval strLocation as string) as string
Dim driver As SeleniumWrapper.WebDriver
Set driver = New SeleniumWrapper.WebDriver
driver.Start "chrome", "https://re.po.st"
driver.Open strLocation
Dim data1
data1 = driver.FindElementById("sguidtotaltable").FindElementByTagName("span").Text
test = data1
driver.stop 'Stops the browser
End Function