# Scroll Element Into View not working for drop down list value selection

**URL:** <https://forum.robotframework.org/t/scroll-element-into-view-not-working-for-drop-down-list-value-selection/6689>\
**Category:** Robot Framework\
**Created:** [21 January 2024 07:46 UTC](https://forum.robotframework.org/t/scroll-element-into-view-not-working-for-drop-down-list-value-selection/6689 "2024-01-21T07:46:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Russel82](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@Russel82](https://forum.robotframework.org/u/Russel82)\
**Post date:** [21 January 2024 07:46 UTC](https://forum.robotframework.org/t/scroll-element-into-view-not-working-for-drop-down-list-value-selection/6689/1 "2024-01-21T07:46:07Z")

</div>

Hi,  
I’m having few drop downs in a page where i have to select a name which is 17 th number in the list drop down and this name is not visible on the page it needs to be scroll down on the dropdown menu to see it.

I tried for one drop down by clicking on the drop down to open then use ’ Scroll Element in to View’ keyword as Scroll Element Into View //div[@role=‘listbox’]//div[text()='John, Doe (5611234) '] it worked but for another drop down this is not working.

I also tried to extract all values from list using  
${list}= Get Element attribute //div[@role=‘listbox’]//div[@class=“v-list-item\_\_title”] text  
select from list keyword by value but all returning no values for this code but in Selectors hub it matches and show this xpath has 20 items which is the items in the drop down . Please see the code snippet below. Some can please help here

:before

\<div class=v-list-item-content" xpath="1" 
John, Doe (5021345)

---

<div class="post-metadata">

**Author:** ![Russel82](https://avatars.discourse-cdn.com/v4/letter/r/90db22/32.png) [@Russel82](https://forum.robotframework.org/u/Russel82)\
**Post date:** [21 January 2024 07:49 UTC](https://forum.robotframework.org/t/scroll-element-into-view-not-working-for-drop-down-list-value-selection/6689/2 "2024-01-21T07:49:00Z")

</div>

\*\*\*CODE SNIPPET \*\*\*\*\*\*

:before

\<div class=v-list-item-content" xpath="1" 
John, Doe (5021345)
