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: 

Regular Visitor

Can I know what is the coding on Power Automate Gallery? is it the PAD flow backend code ? how can I generate it from my flow? 

Helper I
Helper I

@frankwent Copy the code from the PA Gallery link in PAG's reply and paste it into your PAD flow. All of the PAD actions will appear in your flow. The solution works perfect.

Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (2,495)