Hi I would like to start the Internet Explorer without extensions and control it. (Navigate to other pages, click buttons etc.)
When I use the command: "Start iexplore.exe -ArgumentList -extoff" I have the IExplore without extensions, but no object. I need the object to navigate to different pages and click buttons. "$ie = Start iexplore.exe -ArgumentList -extoff" is not possible with the Command "Start X"
The following code create a Com Object and all I want is possible without the "Extensions = off"
- $ie = New-Object -ComObject InternetExplorer.Application
- $ie.Navigate("http://www.stackoverflow.com")
- $ie.Navigate("www.Navigate to a other Page.com")
- $ie.Document.getElementById("ButtonID")|foreach{
- $_.Click()
- }