在检索Web文档的内容之前,如何以编程方式为InternetExplorer.Application
ComObject禁用JavaScript?
$comIE = New-Object -ComObject InternetExplorer.Application
$comIE.Visible = $True;
$comIE.Navigate("https://www.google.com")
Do { Sleep 1 } Until (-not $comIE.Busy)
$ieDoc = $comIE.Document;