我有这个代码
Dim shellWindows = New SHDocVw.ShellWindows
Dim strTemp As String
For Each ie As SHDocVw.InternetExplorer In shellWindows
If ie.LocationURL = "Http:\\somelocation" then
ie.Document.ExecCommand("SelectAll", True, vbNull)
ie.Document.ExecCommand("Copy", False, vbNull)
strTemp = (Clipboard.GetText())
End if
Next
但是,我需要知道这个 html 页面的标题。(此页面由javascript加载,我无法查看源代码。谢谢。)