Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8669423
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:28:15+00:00 2026-06-12T18:28:15+00:00

I have been Working with Selenium WebDriver for a few months now and I

  • 0

I have been Working with Selenium WebDriver for a few months now and I have a problem with a drop down menu within a web app that I am working on.

What is happening is that the test is opening the page, verifying several elements on the page by finding them and then ensuring they are displayed.
After doing that there is some text entered into different fields, then the option select box is clicked on to open the drop down menu.
Following this the test iterates through all the options in the drop down menu until it finds the one it needs, then clicks on that option.

At this point the option is selected but the drop down menu is not closed.

I have tried clicking on the option select again but this has no effect, during the rest of the test other pages are navigated to and the menu does not close.

Then the page is saved and then navigated away from.
However the drop down menu remains until the browser is closed.

This is the code from the app:

<select id="options" name="options" class="options">
<option value="option1 (auto)">option1 (auto)</option>
<option value="option2">option2</option>
<option value="option3">option3</option>
</select>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T18:28:16+00:00Added an answer on June 12, 2026 at 6:28 pm

    I have solved the problem with a work around, as this is the only way that I have found to work.

    Firstly thank you eugene.polschikov for your answer although it didn’t solve the problem it did open my eye somewhat, I had no knowledge of action builder, and it has given me some great ideas about future tests.
    Also thank you to anyone who read this and pondered over a possible solution.

    The workaround that is now in place is that the select is not opened.
    The way the code works is that it would open the list and find the one it wanted and click on it, at this point the select wouldn’t close, so now the code no longer opens the select in the first place, it clicks on the hidden option to select it, not 100% what i wanted, but it works.

    Happy Programming,
    Ben.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been working with Zend for a few months now and am at
I have been working on an app for a number of months now and
I have been working on this app for at least 3-4 months and just
I have been working with ASP.NET for a few years and am now working
I have been working as a native C++ programmer for last few years. Now
I have been working with MVC a little while now (2 months) and am
I have been using Selenium (WebDriver) for some time now, utilising Microsoft Team Foundation
I have been working on a new menu and I'm almost there, but the
I have been scouring the web for how to solve my problem with grails
Have been working on a Tower Defense game for iOS for some time now.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.