1

How can i run IE using COM (powershell, C#, etc. - doesn't matter) or command-line args. with multiple tabs within one window.

For example:

$ie = New-Object -ComObject InternetExplorer.Application
$ie.Visible = $true
$ie.Navigate("yahoo.com")
$ie.Navigate("google.com")

I want something like this, but insted of navigating within a single tab, open a second. Any ideas?

1 Answer 1

0

The answer is found: using navigate flags we can manage this mechanism.

$ie = New-Object -ComObject InternetExplorer.Application
$ie.Visible = $true
$ie.Navigate("yahoo.com")
$ie.Navigate("google.com", 0x0800)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.