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 / I want to select one w...
Power Automate
Unanswered

I want to select one web element, but the element not display in web, so it can't capture the element, how to do?

(0) ShareShare
ReportReport
Posted on by 91

I want to select one web element, but the element not display in web, so it can't capture the element, how to do? I try to editor the display to "true", but automate can't capture the html element.

If it can manual editor to add the element selector?

 

Andrewlu81_0-1656063653017.png

Andrewlu81_1-1656063718365.png

 

 

I have the same question (0)
  • AS-06081019-0 Profile Picture
    1,738 Super User 2024 Season 1 on at

    @Andrewlu81  Try this:

     

    Ankesh_49_0-1656098624879.pngAnkesh_49_1-1656098657250.png

     

    Ankesh_49_2-1656098708466.png

    Try customizing your selector here:

    Ankesh_49_3-1656098772155.png

     

     

    Cheers,

    Ankesh

    --------------------------------

    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • VJR Profile Picture
    7,635 on at

     

    At first try the suggestions shared by Ankesh_49.

     

    Do the below only if you are not able to capture the Ui element.

     

    - The value of the first option can be seen in the red marked below (Empty). Its option value is 0 as seen in the <option> tag below.

     VJR_0-1656299933213.png

     

    - Use "Run javascript function on webpage" action

     

    - For example if your html tags are as below

     

    <select id="leaveCode" name="leaveCodeName">
     <option value="0">(Empty)</option>
     <option value="1">Medical Leave</option>
     <option value="2">Long Service</option>
     <option value="3">Leave Without Pay</option>
    </select>

     

    - Inside that action write...

     

     function ExecuteScript() 
    {
    document.getElementById('leaveCode').value = 0;
    }

     

    In your case it will be 

    document.getElementById('Site').value = 0;

     

    In the above line also try using 0 within double quotes like "0"

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