Sign in to follow this  
Followers 0

Find out a frame's url with autoit?

1 post in this topic

I open a webpage with a frame in it, with _IECreate().

The frame has not the same domain as the webpage in which it lies,

so the sandbox respectively private origin policy of IE has to be considered.

However, i tried to get the url the frame is displaying

by getting the frame with _IEGetFrameCollection

and then applying a _IEGetProperty("locationurl") to this frame.

But because of the sandbox, autoit crashes.

However , I think because the url and frame belongs actually to the webpage,

and not to the frame's content, it should somehow be possible to get the url of

the foreign frame, but how?

Thx in advance


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
Sign in to follow this  
Followers 0