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

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 22, 2025

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

      May 22, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 22, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 22, 2025

      Sam Altman says ChatGPT’s viral Ghibli effect “forced OpenAI to do a lot of unnatural things”

      May 22, 2025

      How to get started with Microsoft Copilot on Windows 11

      May 22, 2025

      Microsoft blocks employees from sending emails that mention “Palestine” or “Gaza”

      May 22, 2025

      I missed out on the Clair Obscur: Expedition 33 Collector’s Edition but thankfully, the developers are launching something special

      May 22, 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

      Perficient is Shaping the Future of Salesforce Innovation

      May 22, 2025
      Recent

      Perficient is Shaping the Future of Salesforce Innovation

      May 22, 2025

      Opal – Optimizely’s AI-Powered Marketing Assistant

      May 22, 2025

      Content Compliance Without the Chaos: How Optimizely CMP Empowers Financial Services Marketers

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

      Sam Altman says ChatGPT’s viral Ghibli effect “forced OpenAI to do a lot of unnatural things”

      May 22, 2025
      Recent

      Sam Altman says ChatGPT’s viral Ghibli effect “forced OpenAI to do a lot of unnatural things”

      May 22, 2025

      How to get started with Microsoft Copilot on Windows 11

      May 22, 2025

      Microsoft blocks employees from sending emails that mention “Palestine” or “Gaza”

      May 22, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Selenium is not finding button even though it has a Class Name and XPath

    Selenium is not finding button even though it has a Class Name and XPath

    August 3, 2024

    I am attempting to click a save button but Selenium (with Python) is having issues. I keep getting the error, “Message: no such element: Unable to locate element”

    Here is the HTML

    <input type=”submit” name=”action[save]” class=”FixedRight SPSubmitRequest button save-button disabledsubmit” value=”Save”>

    And the XPath

    //*[@id=”spsisFunctionJSAutoFormID12″]/table/tbody/tr/td[3]/input

    I have attempted the following to no avail

    driver.find_element_by_xpath(‘//*[@id=”spsisFunctionJSAutoFormID12″]/table/tbody/tr/td[3]/input’).click()

    driver.find_element_by_class_name(‘FixedRight SPSubmitRequest button save-button disabledsubmit” value’).click()

    driver.find_element_by_xpath(‘//button[@name=’Save’].click()

    None of these work and all produce the same error

    Source: Read More

    Hostinger
    Facebook Twitter Reddit Email Copy Link
    Previous Article[error]Cmd.exe exited with code ‘1’ in Azure Pipeline
    Next Article Encountered Error Could not load type ‘OpenQA.Selenium.Internal.IWrapsElement’ from assembly ‘WebDriver

    Related Posts

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-47512 – Tainacan Path Traversal

    May 23, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-47530 – WPFunnels Object Injection Vulnerability

    May 23, 2025
    Leave A Reply Cancel Reply

    Hostinger

    Continue Reading

    One of 2024’s best games is getting a sequel, but it may be a while before we learn more

    News & Updates

    Smashing Animations Part 1: How Classic Cartoons Inspire Modern CSS

    Tech & Work

    Made by Google 2024: What to expect with Pixel 9 Pro Fold, Watch, Android 15, AI, and more

    Development

    CVE-2025-36525 – BIG-IP APM PingAccess Profile Request Termination Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    Xbox sends free Forza Horizon 4 copies to Xbox Game Pass subscribers

    July 2, 2024

    Christmas arrived early for many lucky Forza Horizon 4 fans. Xbox surprised some gamers by…

    Call of Duty: Black Ops 6 Season 2 Reloaded — Patch notes, new maps, events, and more

    February 20, 2025

    Top Tech Trends in 2025

    February 17, 2025

    The Future of Technology in the Finance Field: A New Era of Innovation

    December 20, 2024
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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