web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Suggested Answer

Custom Selector

(1) ShareShare
ReportReport
Posted on by 4
Hello,
 
I am having a hard time figuring out a way to select a checkbox based on specific value in the same row. 
 
here is an example of what I am trying to achieve. 
 
first I set the variable in Power Automate Desktop to either 1, 2, or 33 in this example. The selector should check the checkbox in the same row as the variable.
 
If the Variable is set to 33 and the number 33 is in the row select the checkbox in the same row. if the number was changed to 2 or 1 then it should select the checkbox in that row.
 
This selector selects the checkbox.

frameset[Id="bottom_frame"] > frame[Src="Redacted"] input[Id="selectRow"]
 
This selector selects the Number.

frameset[Id="bottom_frame"] > frame[Src="Redacted"] table[Id="unique_id"] > tbody > tr > td[Text="33"]
 
I just need help combining these or understanding how to make the selector only select the checkbox containing specific text value in the [Text="33"]. the end goal is to replace the number 33 in [Text="33"] with a variable that way it can check the checkbox with the correct number. 
I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
    Hi,
     
    Do you find any attribute which represents kind of row index for selecting checkbox, if yes then find the row index of the value u want to select checkbox and pass same in selector where checkbox is checked.
     
    Or try this selector instead (This has came out of expermentation)
     
    frame[Src="Redacted"]:has(td:eq(3):contains("33")]) + input[Id="selectRow"]
     
    Let me know whether this helps !
    Thanks & Regards,
    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!

     
  • PowerAutomateTestingGuy Profile Picture
    4 on at
     
    I tried but this seems to have a typo in it, I think I found the typo but the selector just errors immediately.
     
    typo frame[Src="Redacted"]:has(td:eq(3):contains("33")]) + input[Id="selectRow"]
     
    typo =  :contains("33")])
     
    typo fixed frame[Src="Redacted"]:has(td:eq(3):contains("33")) + input[Id="selectRow"]
     
    typo fixed = :contains("33")) ( removed "]" before ")"
     
    Just want to make sure thats correct first.
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 953

#2
Valantis Profile Picture

Valantis 810

#3
Haque Profile Picture

Haque 622

Last 30 days Overall leaderboard