I'm using PowerShell to scrape the web and I'm trying to bypass the download dialog of Internet Explorer.
What am I doing wrong?
CodePudding user response:
Not sure why but I fixed by using
Add-Type -AssemblyName System.Windows.Forms
[System.Windows.Forms.SendKeys]::SendWait("%s")