Close Menu
    DevStackTipsDevStackTips
    • Home
    • News & Updates
      1. Tech & Work
      2. View All

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 16, 2025

      The Case For Minimal WordPress Setups: A Contrarian View On Theme Frameworks

      May 16, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 16, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 16, 2025

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025

      Minecraft licensing robbed us of this controversial NFL schedule release video

      May 16, 2025
    • Development
      1. Algorithms & Data Structures
      2. Artificial Intelligence
      3. Back-End Development
      4. Databases
      5. Front-End Development
      6. Libraries & Frameworks
      7. Machine Learning
      8. Security
      9. Software Engineering
      10. Tools & IDEs
      11. Web Design
      12. Web Development
      13. Web Security
      14. Programming Languages
        • PHP
        • JavaScript
      Featured

      The power of generators

      May 16, 2025
      Recent

      The power of generators

      May 16, 2025

      Simplify Factory Associations with Laravel’s UseFactory Attribute

      May 16, 2025

      This Week in Laravel: React Native, PhpStorm Junie, and more

      May 16, 2025
    • Operating Systems
      1. Windows
      2. Linux
      3. macOS
      Featured

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025
      Recent

      Microsoft has closed its “Experience Center” store in Sydney, Australia — as it ramps up a continued digital growth campaign

      May 16, 2025

      Bing Search APIs to be “decommissioned completely” as Microsoft urges developers to use its Azure agentic AI alternative

      May 16, 2025

      Microsoft might kill the Surface Laptop Studio as production is quietly halted

      May 16, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Strange drop down automation problem – multiple select

    Strange drop down automation problem – multiple select

    May 10, 2024

    I’ve tried for days to figure this one out. I have a selector that I can’t figure out. It seems to be a regular select statement with multiple options but when clicking one option directly it changes the title on a button. I can’t figure out how to manipulate it. All I want to do is find a specific selection option and select it. I don’t need to select multiple options.

    The code I’m seeing is as follows:

    <select multiple=”” id=”assignTo” data-placeholder=”Select Instructor(s)” title=”Instructor(S)” name=”instructors” class=”form-control bootstrapmultiselect” style=”display: none;”>
    <option value=”864979″>Joe Smith</option>
    <option value=”355944″>Mary Jones</option>
    <option value=”44177″>Bill Smith</option>
    <option value=”551573″>Susan Carter</option>
    <option value=”883308″>Brian Bird</option>
    </select>

    <div class=”btn-group” style=”width: 100%;”>
    <button type=”button” class=”multiselect dropdown-toggle btn btn-default” data-toggle=”dropdown” title=”None selected” style=”width: 100%;”>None selected <strong class=”caret”></strong></button>

    Here’s the code I’ve tried:

    drop = select(driver.find_element_by_id(‘assignTo’))
    instructor_option = WebDriverWait(driver,5).until(lambda x: x.find_element_by_xpath(“//select[@id=’assignTo’]/option[text()=’Bill Smith’]”))
    instructor_option.select()

    Any ideas? I appreciate any help at all!

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticlePython & Selenium: Finding and activating a dropdown list, then selecting a list item
    Next Article Top Antidetect Browsers in 2024

    Related Posts

    Machine Learning

    LLMs Struggle with Real Conversations: Microsoft and Salesforce Researchers Reveal a 39% Performance Drop in Multi-Turn Underspecified Tasks

    May 17, 2025
    Machine Learning

    This AI paper from DeepSeek-AI Explores How DeepSeek-V3 Delivers High-Performance Language Modeling by Minimizing Hardware Overhead and Maximizing Computational Efficiency

    May 17, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    CVE-2025-45866 – TOTOLINK A3002R Buffer Overflow

    Common Vulnerabilities and Exposures (CVEs)

    Ivanti Patches Critical Remote Code Execution Flaws in Endpoint Manager

    Development

    CVE-2025-25014 – Kibana Prototype Pollution Remote Code Execution

    Common Vulnerabilities and Exposures (CVEs)

    The Top 5 WordPress Page Builders Compared

    Web Development

    Highlights

    Development

    Turning Data into Decisions: How CVE Management Is Changing

    January 22, 2025

    Every day, hundreds of new Common Vulnerabilities and Exposures (CVEs) are published, many of which…

    Lenovo’s new IdeaPad 2-in-1 is the perfect Snapdragon X Plus laptop for daily office tasks and student work

    February 12, 2025

    while controller isn’t working perfectly when testing for multiple users

    November 15, 2024

    New Android RAT BingoMod Exploits Accessibility Services To Steal Money and Wipe Data

    August 1, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.