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

    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

    Security

    Nmap 7.96 Launches with Lightning-Fast DNS and 612 Scripts

    May 23, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-47512 – Tainacan Path Traversal

    May 23, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    SambaNova Systems Enhances Modular AI Deployment through Composition of Experts on the SambaNova SN40L Platform

    Development

    The AI Fix #33: AI’s deliberate deceptions, and Elon’s “unhinged” mode

    Development

    3 ways Google’s AI Mode is going to change how you shop online

    News & Updates

    What the State of Pentesting Report 2025 Reveals About Cybersecurity Readiness

    Development

    Highlights

    Development

    LMSYS ORG Introduces Arena-Hard: A Data Pipeline to Build High-Quality Benchmarks from Live Data in Chatbot Arena, which is a Crowd-Sourced Platform for LLM Evals

    April 28, 2024

    In Large language models(LLM), developers and researchers face a significant challenge in accurately measuring and…

    The and elements are getting an upgrade

    November 4, 2024

    JetBrains’ new UI is now default across all IDEs in 2024.2 update

    August 6, 2024

    This AI Paper Explores Quantization Techniques and Their Impact on Mathematical Reasoning in Large Language Models

    January 9, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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