I'm trying to use powershell to automate and parse a website. Everything works great until I "click" on a link and it opens in a new window. How can I access that window so I can parse it?
$ie = New-Object -com Internetexplorer.application
$ie.Visible= $true
$ie.Navigate("http:/.....")
....
# find a link...
$link.click(); # a new popup window open up.
# how can I get access to the new popup window?
Thank you!