1 2 3 4 5 6 7 8 9 10 |
$IE= new-object -com InternetExplorer.Application $IE.navigate2("https://www.google.es/search?q=powershell") while ($IE.busy) { sleep -milliseconds 100 } $IE.visible=$true $IE.Document.getElementById("lst-ib").value="Scripting and security" $IE.Document.getElementById("_fZl").click() |