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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

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,129 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard