Does not recognize new tab, as it has the same URL

Hello.
My problem is that on a web page with data, I’m trying to export a file. When I click the export button, a new tab opens to configure the file export with the same URL as the page containing the data. The selector correctly identifies the export button in that new tab, but because it’s the same URL, instead of clicking it, it returns to the first open page.
What opens isn’t a pop-up window, it’s a new tab.
Any ideas?

What are the other properties of the windows/tabs? Name? Anything else different?

Hi @Aguirre,

You say selector correctly identifies the export button in new tab but doesn’t click it?

Try exploring the selector using UIexplorer, there would be some attributes to identify it properly.

@Aguirre

If attribute difference is not found then add idx=‘2’ in the selector of window and it should identify it

Cheers

Hi, when I use the selector, it correctly identifies the button. As you can see in the following image.

If I use Uiexplorer, it doesn’t detect the button.


If I try to select the button again, it no longer appears on the web.

It doesn’t recognize the button and selects the entire page.

The new tab is completely different from the previous one, except for the URL.
One odd thing is that I can detect the button, but when I confirm, the screenshot shows an image that doesn’t match. I’ve tried this several times and in different browsers, and the same thing always happens.
Selector:
Captura de pantalla 2025-04-23 a las 7.53.48

screenshot:

@Aguirre

open the ui explorer from selector window only

and uncheck the image and cv in the object repo

as mentioned in window selector use idx=‘2’ and check

cheers

Hello. Do you mean doing it like this?.

It’s not the solution I like best.
But it works for me with image recording.
I’ll try that way, so as not to be more annoying.
Thank you all very much.

1 Like

@Aguirre

Above this you would see window selector in options in window selector and in use app browser use idx not in this selector field

Cheers

Do you mean in this window or when you open “Uiexplore”?


Uiexplore:

If I try to select the button I get this error.

@Aguirre

at that time are both windows open?

if same name and url exists then idx2 would work

cheers

Sorry for the delay in responding, but I didn’t get the notification.
First, I have one window open, and when I click export, a new tab opens with the same URL, while the other one remains open.
But unless I’m setting the idx=2 incorrectly, it won’t work for me.

@Aguirre

So is it working or not working now..if a different tab

First try to identify any difference ifnot idx is the difference

Cheers