Element loads twice

Hi everyone,

I’ve been trying to fetch prices of certain products from a website but after site loads, it refreshes the price element again and because of that i’m not able to get text. I tried using wait image vanish activity but it still didn’t work. Also i’m using dynamic selectors but they’re working fine as i checked in UI Explorer.

Here’s the link to one of the products:

Here’s the selector i’m using in wait image vanish:

Please suggest a way to get this done.

Hi! Please try this one:
waitElement.xaml (4.2 KB)

4 Likes

hi @Jan_Brian_Despi

Thanks a lot, this activity is working. But can you please tell how you located the element coz i’m not able to find the element using developer tools and also im using dynamic selectors so i’m passing selectors as string but using * isn’t working in that. Because in firefox “/Overview” is added at the end of url after page is loaded and thus selectors are not able to identify the element. How can i do that.

2 Likes

This is another option using the FindChildren activity without the need for the wait.

Main.xaml (7.5 KB)

1 Like

You may try Ui Explorer functionality

:slight_smile:

2 Likes

You may now close this topic by marking the solution :slight_smile:
Thank you!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.