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 Platform Community / Forums / Power Automate / JQuery Selector Guidan...
Power Automate
Unanswered

JQuery Selector Guidance - Checkbox from Webpages

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi Everyone 

 

Just got into RPA for a company im working for. Having trouble with getting the value of a checkbox\radio button.

 

I can successfully call the the checkbox and click it and unclick it with the following jquery

iframe[Id="gsft_main"] div[class="col-xs-12 catalog-checkbox"] span:has(label:contains("Wired Mouse"))

 

but im struggling to getting the actual value from the checkbox. (as my actions are dependent if the checkbox is checked or not)

AslamRaja1_0-1677599375491.png

 

Ive tried changing the target for checkbox to the below with the addition of the below to select the checkbox (wired mouse) but have been unsuccessful 

iframe[Id="gsft_main"] div[class="col-xs-12 catalog-checkbox"] span:has(label:contains("Wired Mouse")) ~ Input[class="cat_item_option"]

 

Can someone please lead me in the right direction to do steps when the pictured checkbox is selected which is in the iframe please before i pull all my hear out! happy to provide more info if required. 

I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Sorry just to add the value that changes in the input thats come after div - in picture - one under the label "wired mouse" which is selected.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    so with extensive research ive come up with the below xpath to get to the correct input but converting that to jquery does not work

     


    //div/div/span/label[text()="Wired Mouse"]//following::input

    above xpath works


    iframe[Id="gsft_main"] div[class="row sc-row sc_checkbox"] span:has(label:contains("Wired Mouse")) ~ input

     

     

     

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 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard