cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
hibinoma
Regular Visitor

CSS Selector with variable

Could anyone advice me about above Subject?

I want to loop each rows of a html page having table tag.
So I set the CSS selector as below.

However it doesn't work even though I forced the %RowIndex% as number 0 before running the step.
Is this usage incorrect? 
If give the setting back  to original, it dose works. 


Just changed the orignal selector from
 div[Id="sr"] > div[Class="basicsearchresults"] > table > tbody > tr:eq(0)      

to

 div[Id="sr"] > div[Class="basicsearchresults"] > table > tbody > tr:eq(%RowIndex%)  


Reards,

1 ACCEPTED SOLUTION

Accepted Solutions
Henrik_M
Dual Super User
Dual Super User

You need to toggle it to the left. Right now it actually on the visual builder setting.

Those "checkboxes" and their text don't make any sense...

View solution in original post

6 REPLIES 6
Henrik_M
Dual Super User
Dual Super User

Did you change the selector builder mode to custom?

hibinoma
Regular Visitor

Thank you for quick reply.
Yes, I set to custom as below image. 

hibinoma_0-1615536310085.png

 

Henrik_M
Dual Super User
Dual Super User

You need to toggle it to the left. Right now it actually on the visual builder setting.

Those "checkboxes" and their text don't make any sense...

hibinoma
Regular Visitor

It looks work by set it to the left, thank you.
However..., after that ,

I tried to back to the builder setting page to modify it, but the toggle button looks gray out.
So I can't edit it anymore. Is this normal?

Henrik_M
Dual Super User
Dual Super User

Yeah, it's normal. Once it has been edited in custom, you can't change it back.

 

I guess if you want to keep a backup of a visual selector, you can press the New button in the selector overview before you make the selector custom, and then edit one of the parameters to something unrealistic, [class="visual backup"] for example.

hibinoma
Regular Visitor

I understood. Thank you for your advice.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,784)