locked
ComObject internetexplorer.application RRS feed

  • Question

  • $IE0=new-object -com internetexplorer.application
    $IE0.navigate2("http://www.microsoft.com")
    $IE0.visible=$true
    $IE0.Quit()

    The above code works perfect. Now, is it possible to supply a new URL to the already opened IE window and tab.

    I am after a solution that constantly changes the Web location in the same IE windows and the same tab

    Tuesday, March 1, 2016 4:51 AM

Answers

  • just keep reusing the navigate command.

    $IE0.navigate2("http://www.microsoft.com")
    sleep 5
    $IE0.navigate2("http://www.google.com")


    \_(ツ)_/

    • Marked as answer by aJ_47 Thursday, April 28, 2016 11:42 PM
    Tuesday, March 1, 2016 4:59 AM