Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

Run JavaScript Function on Web Page - Checkbox

I am trying to select 2 options from a filter list using the 'Run JavaScript Function on Web Page' action.

I also tried using other PAD actions unsuccessfully since I am unable to get my preferred option of using JavaScript.


Any idea what I am doing wrong with my JavaScript action or is there a different PAD action that is possible?


PAD Flow:



Resolver I
Resolver I

Hello @pjwilson87 


Replace your last "Run JavaScript function on web page" with this:

WebAutomation.ExecuteJavascript BrowserInstance: Browser Javascript: $'''function ExecuteScript() {
   $(\'input[value=\"72\"],input[value=\"105\"]\').prop(\"checked\", true);
}''' Result=> Result

Here is the complete solution: 

Helpful resources

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.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

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