Dynamic selector for Get Text activity

Hi,

I am trying to extract the text in the red box . However, the position of the text is not fixed - sometimes it may be lower or higher than shown in the example above. Is there some way to extract this text regardless of its position on the page?

Just see if you want to extract how many positions?
Maybe you can try using an element exist and extracting it with the get text

1 Like

Hi @Mulya_Habibi_Tullah,

Thanks for your suggestion - the Element Exists activity works but the output is a boolean which is not supported by Get Text. How can extract the sentence using Get Text?

1 Like

Hi @keshana_t

You can try out with css selector too

1 Like

Hi @NIVED_NAMBIAR,

Thank you for your suggestion. Can you please further explain how I can use the css selector?

This is the selector I am using now and it isn’t dynamic:

Hi @keshana_t check this video for learning

1 Like

Thank you very much @NIVED_NAMBIAR

1 Like