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 / List Dosent't Contain ...
Power Automate
Unanswered

List Dosent't Contain option While using Set Drop-down list value on web page activity

(0) ShareShare
ReportReport
Posted on by 45

Rampage_0-1646464288298.png

Getting this error while selecting "British English" From this drop down menu.

Rampage_1-1646464382969.png

 

Can anyone help me in this

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    @Rampage 

    Is this a webpage (looks so), then right click, Inspect element and see the Html tags of the dropdown.

    Sometimes the text inside the dropdown is different than the value set in the code.

  • Rampage Profile Picture
    45 on at

    I tried everything still getting same error

  • VJR Profile Picture
    7,635 on at

    Can you show the Html tags for the dropdown.

  • Rampage Profile Picture
    45 on at

    <li class="dropdown drop-down-menu drop-down-xs enabled" id="language-picker">
    <button aria-haspopup="" class="btn btn-default btn-xs dropdown-selection btn-white selection" data-toggle="dropdown" id="dropdown-language-picker-button" tabindex="0">
    British English
    </button>
    <ul aria-labeledby="dropdown-language-picker-button" class="dropdown-menu anchor-bottom" role="menu">
    <li>
    <div class="replace-selection clickable language-pick" language-code="en-GB">British English</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="de-DE">Deutsch</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="en-US">English (US)</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="es-ES">español</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="es-419">español latinoamericano</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="fr-FR">français</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="it-IT">italiano</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="nl-NL">Nederlands</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="pt-PT">português</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="pt-BR">português do Brasil</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="ru-RU">русский</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="ko-KR">한국어</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="ja-JP">日本語</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="zh-CN">简体中文</div>
    </li>
    <li>
    <div class="replace-selection clickable language-pick" language-code="zh-TW">繁體中文</div>
    </li>
    </ul>
    </li>

  • VJR Profile Picture
    7,635 on at

    Some of the options to try are:

    1. Sendkeys on the dropdown and after some wait time write the text British English (test both with and without emulated typing option)

    OR

    2. use the Id of the dropdown and then set the value using javascript for webpage.

  • Pavel_NaNoi Profile Picture
    1,074 on at

    You could also potentially just use an HTML selector instead, to do so use the Extract data from webpage action, go to the webpage, a recorder-esk window will pop up, right click and extract the values in the drop down menu, (will only need to select two values) this will create a selector, to access it,

     

    go back to the recorder-esk window and select "Advanced Options" in the bottom left. Here just copy the CSS Selector (if its split up into a body and selector, combine them)

     

    now that you have it, you just paste this as a custom selector for your dropdown list selector you already have, and in the final bit of this new selector write something like ":contains(British English)" e.g.  div > div >html > div:contains(British English),

    you can also insert a variable as follows in there, div > div >html > div.contains(%MyVariable%)

  • CU02041156-0 Profile Picture
    2 on at
    It bypasses the limitations of standard UI automation and ensures the bot clicks directly on the right language element, no matter how the HTML structure is hidden

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!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard