Jump to content

Recommended Posts

Posted
23 minutes ago, slyx said:

I add a 10-second sleep

One seconde right? Not ten.

Why do you need to focus the element? (threre is not need to focus to click it, if its the case)

Posted (edited)

Yes, it's one second.

I like to get the element shown in the screen by focusing it.

Why this popup is not a window? Any details?

When I try WinList(), I can get two HWND handles.

Edited by slyx
Posted

Its not a popup, just looks like one, this is made by a java code that check is the zip code is different, if it is then it makes that div element that looks like a alert popup. So you can not get two window handlers from that event, its something else that you are mistaking by a alert window. To see the difference, write this code in the address bar:

javascript:alert("test");

Then use the AutoIt Window Info on both occurences (the alert popup ge and the element that looks like one).

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
  • Recently Browsing   0 members

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