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 / Increment down key on ...
Power Automate
Answered

Increment down key on a web page drop down

(0) ShareShare
ReportReport
Posted on by 12

Hi All,

 

I'm trying to build a flow to select each option of drop-down one by one using SEND KEYS option in PAD. For example:

On amazon website first using the "Down" Send key, it will first move to "All Department" and then press enter. Then it will move to "Arts & Craft" option and press enter. This should happen till the end of the drop-down list.

 

Please note: "Select drop-down list value on webpage" option is not working on the website I'm working.

 

sakhigarg_2-1645610355963.png

 

Please find screenshot of the way I'm trying to do this: I'm was trying to run it for first 5 options. But it just simply select drop down and click on "All department" 5 times.

 

sakhigarg_0-1645609861659.png

 

Kindly let me know if my query is not clear. 

Thanks,

Sakhi Garg

 

I have the same question (0)
  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    This works without send keys, actually you dont have to click anything.
    You can set loop to 1000 if you want, it will still stop at the last menu item without error.

    Highboy_0-1645613163972.png

     

    On block error (settings)

    Highboy_0-1645613503297.png

    Set drop-downlist value on web page (settings)

    Highboy_1-1645613570005.png

    I am sure there are other ways of doing this, but it's fast, it works, and no click. 😊

  • Guriga Profile Picture
    188 on at

    Hi,

     

    this working for me perfectly:

     

    Guriga_0-1645613854017.png

    Hope the content above may help you.

    Best Regards

    If my answer helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

  • Highboy Profile Picture
    1,187 Super User 2024 Season 1 on at

    Be aware that if the screen resolution should change, or the script has to run on another computer with a different screen resolution it wil fail.

  • Guriga Profile Picture
    188 on at

    Yes, that is true.

    I just did this way for testing.

  • sakhigarg Profile Picture
    12 on at

    Hi @Highboy ,

     

    Thanks for the reply. But in my website "Select drop-down list value on webpage" will not work which is why I'm using SEND Keys.

  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    Try this:

     

    LOOP 1 --> 15

        Click link

        Send keys: {Down:%LoopIndex%}{Return}

    END LOOP

  • sakhigarg Profile Picture
    12 on at

    Hi @Guriga ,

     

    Thanks for the reply. Your solution is partially working for me. Though it starts from the selected 2nd option instead of 1st. It skips the 1st option as by default when you click on drop down 1st option is automatically highlighted because of which it moves to 2nd option in {Down}{Return} step. Is there a way to get 1st option & then 2nd. 

     

    Thanks,

    Sakhi

     

    Please note I have taken Amazon as an example since cannot share the actual site screenshot.

  • Verified answer
    Guriga Profile Picture
    188 on at

    You can put if in the loop and for the 1st just send enter instead of down, enter.

     

    Guriga_0-1645616049322.png

    Hope the content above may help you.

    Best Regards

    If my answer helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • sakhigarg Profile Picture
    12 on at

    Hi @Guriga 

     

    Above solution works but only upto the options that are visible without scrolling any further. Basically as per amazon example: the loop will run till "Music, CD & Vinyl", after that it will start from 2nd option again instead of going down since next option is not visible. 

     

    Kindly help me on this.

     

    Thanks,

    Sakhi

  • Guriga Profile Picture
    188 on at

    I increased the number to 40 and on Amazon, it worked perfectly.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 274 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 175

#3
Haque Profile Picture

Haque 166

Last 30 days Overall leaderboard