Jump to content
iamtech

How to open URL in new tab and use _IEloadwait

Recommended Posts

iamtech

How can i open multiple tab with same url and wait for load it ?

Share this post


Link to post
Share on other sites
Juvigy

$oIE = _IECreate("google.com")
_IELoadWait($oIE)
$oIE2 = $oIE.navigate2("abv.bg",2048)

_IELoadWait($oIE2)

Share this post


Link to post
Share on other sites
iamtech
6 hours ago, Juvigy said:

$oIE = _IECreate("google.com")
_IELoadWait($oIE)
$oIE2 = $oIE.navigate2("abv.bg",2048)

_IELoadWait($oIE2)

@Juvigy it was not working i am tried with this code :

#include <IE.au3>
#include <MsgBoxConstants.au3>


$oIE = _IECreate("google.com")
$oIE2 = $oIE.navigate2("google.com",2048)

_IELoadWait($oIE2)
   MsgBox(0, "_IELoadWait", "_IELoadWait Complete")

But this not loadwait for $oIE, this is loadwait for $oIE2.

Share this post


Link to post
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

×