Hi,
I added a UI element as a text variable. The result only returns the first match in the u.i element, how do I get it to return all the matches and not just the first one. The picture below is the UI element selector, I want everything containing "California" to appear (there are 4 in this case). I realize that I can't use the variable incremental since the variable is a text. I couldn't get the loop to work either, this is some sort of a drop down list but doesn't have the "select" id in the html.
What am I doing wrong or what can I do to get the right result. Thank you
Hi @GenAi
May be show how your main dropdown menu looks like in html structure (select tag simmilar) in your case
and also how options html structure looks like (option tag simmilar) so that we can design a css selector for this 🙂
Nived N 🚀
LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel
Blog: Nived Nambiar's Blogs
🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌
Hi,
Thank you for all your help. I know how to write the css selector when the html contains the "select" function (your example contains the select function), but the html I am working with doesn't have the select function but rather the button function. I tried replacing the "select" with button in the css but didn't work.
Hi @GenAi
Let me share a simple example for this
assume this is the dropdown values u need to capture
Now see its html structure
Using extract data from webpage action > i have written this css selector
as u see i get all dropdown values as output. Well you can still filter it up utilizing the regex options as well.
Hope this idea helps !
Nived N 🚀
LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel
Blog: Nived Nambiar's Blogs
🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌
Hi @GenAi
Let me share a simple example for this
assume this is the dropdown values u need to capture
Now see its html structure
Using extract data from webpage action > i have written this css selector
as u see i get all dropdown values as output. Well you can still filter it up utilizing the regex options as well.
Hope this idea helps !
Nived N 🚀
LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel
Blog: Nived Nambiar's Blogs
🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌
Yes
Hi @GenAi
is it like you are trying to capture all dropdown values having word CALIFORNIA ?
Nived N 🚀
LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel
Blog: Nived Nambiar's Blogs
🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌
I tried that initially but didn't work for me.
This is what I got from the inspect, each account is unique but they all start with California. Below the first image is another inspect just for one of the element of the drop down. Thank you
Hi @GenAi
could you select element and use inspect element option so to see html structure of it ?
Nived N 🚀
LinkedIn: Nived N's LinkedIn
YouTube: Nived N's YouTube Channel
Blog: Nived Nambiar's Blogs
🔍 Found my answer helpful? Please consider marking it as the solution!
Your appreciation keeps me motivated. Thank you! 🙌
I was only able to extract the first element that contained "California"
eetuRobo
4
Super User 2025 Season 1
KO-05050229-0
2
stampcoin
2