Jump to content

_IECreate


Recommended Posts

Hello Everyone,

I am working on Webautomation and I need to do repeated process in same window.

for Example: In Below script i want to open all three URL's in Same window one by one.

Also, i am trying to Quit (_IEQuit) the window however it's not working.

 

#include <IE.au3>
for $x=1 to 5 step 1
Local $oIE = _IECreate("www.autoitscript.com")
Local $oIE =_IECreate("my.yahoo.com")
Local $oIE =_IECreate("www.google.com")
_IEQuit($oIE)
Next

Link to comment
Share on other sites

6 hours ago, jdelaney said:

_ienavigate

Won't work if he wants to have all three in same window.  In other words, if he wants tab feature, one  way to do it, is by using .navigate method with new tab flag (0x800).

Then attach the new tab to get its object. Voilà !

Link to comment
Share on other sites

depends if by 'same window' they mean same browser DOM.  Given the 'one by one' comment, I interpreted navigating to the three in a loop. 

Edited by jdelaney
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...