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

      CodeSOD: A Unique Way to Primary Key

      July 22, 2025

      BrowserStack launches Figma plugin for detecting accessibility issues in design phase

      July 22, 2025

      Parasoft brings agentic AI to service virtualization in latest release

      July 22, 2025

      Node.js vs. Python for Backend: 7 Reasons C-Level Leaders Choose Node.js Talent

      July 21, 2025

      The best CRM software with email marketing in 2025: Expert tested and reviewed

      July 22, 2025

      This multi-port car charger can power 4 gadgets at once – and it’s surprisingly cheap

      July 22, 2025

      I’m a wearables editor and here are the 7 Pixel Watch 4 rumors I’m most curious about

      July 22, 2025

      8 ways I quickly leveled up my Linux skills – and you can too

      July 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

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025
      Recent

      The Intersection of Agile and Accessibility – A Series on Designing for Everyone

      July 22, 2025

      Zero Trust & Cybersecurity Mesh: Your Org’s Survival Guide

      July 22, 2025

      Execute Ping Commands and Get Back Structured Data in PHP

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

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025
      Recent

      A Tomb Raider composer has been jailed — His legacy overshadowed by $75k+ in loan fraud

      July 22, 2025

      “I don’t think I changed his mind” — NVIDIA CEO comments on H20 AI GPU sales resuming in China following a meeting with President Trump

      July 22, 2025

      Galaxy Z Fold 7 review: Six years later — Samsung finally cracks the foldable code

      July 22, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Why Can’t I Locate Clickable Element in Choose File Keyword?

    Why Can’t I Locate Clickable Element in Choose File Keyword?

    April 3, 2025

    I am using Robot framework to automate a file upload to a webpage. I am using the Choose File keyword.

    Code notes: ${CONTINUE_BUTTON} is a button at the bottom of the screen, ensuring that the entire bottom of the webpage is visible. The Sleeps are there temporarily so that I know it’s not a timing issue and can watch the automation as it happens.

    ”’

    ${uploadFileButton} =  xpath://*[@id="67e21641-340b-4f15-94e2-e5ab7a8532a1"]/div/button
    ${testDoc} =  C:UsersjasonbDocumentsDummyDocumentsTestDocument.pdf
    
    Scroll Element Into View    ${CONTINUE_BUTTON}  
    Sleep    10s  
    Wait Until Element Is Visible    ${uploadFileButton}  
    Choose File    ${uploadFileButton}    ${testDoc}  
    Sleep    10s 
    

    ”’

    I ensured that the Xpath locator is the correct one by searching it in my inspect panel. In the failure screenshots, the button is visible.

    When I use the Wait Until Element Is Visible keyword, I get this error:

    ”’

    Element 'xpath://*[@id="67e21641-340b-4f15-94e2-e5ab7a8532a1"]/div/button' not visible 
    after 5 seconds.
    

    ”’

    When I don’t use the Wait Until Element is Visible keyword, I get this error:

    ”’

    Element with locator 'xpath://*[@id="67e21641-340b-4f15-94e2-e5ab7a8532a1"]/div/button' 
    not found.
    

    ”’

    I also tried using a different element that is not the clickable part of the upload file button:

    ”’

    ${uploadFileButton} =  xpath://*[@id="67e21641-340b-4f15-94e2-e5ab7a8532a1"]/div/button
    

    ”’

    And got this error:

    ”’

    Element with locator 'xpath://*[@id="67e21641-340b-4f15-94e2-e5ab7a8532a1"]' not 
    interactable.
    

    ”’

    So it can see the non-clickable element, but not the clickable element just a few HTML lines down from it. What is happening here?

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleWardrobe is a GNOME customization tool
    Next Article Playwright Mobile Automation for Seamless Web Testing

    Related Posts

    Development

    GPT-5 is Coming: Revolutionizing Software Testing

    July 22, 2025
    Development

    Win the Accessibility Game: Combining AI with Human Judgment

    July 22, 2025
    Leave A Reply Cancel Reply

    For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

    Continue Reading

    Scaling Diffusion Language Models via Adaptation from Autoregressive Models

    Machine Learning

    La Germania si impegna ad adottare l’Open Document Format

    Linux

    SAP Patch Fixes Critical CVSS 9.6 Flaw in NetWeaver: Privilege Escalation and System Integrity at Risk

    Security

    CVE-2025-0140 – Palo Alto Networks GlobalProtect App Privilege Escalation Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Highlights

    CVE-2025-4220 – Xavin’s List Subpages WordPress Stored Cross-Site Scripting Vulnerability

    May 6, 2025

    CVE ID : CVE-2025-4220

    Published : May 7, 2025, 3:15 a.m. | 20 minutes ago

    Description : The Xavin’s List Subpages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin’s ‘xls’ shortcode in all versions up to, and including, 1.3 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

    Severity: 6.4 | MEDIUM

    Visit the link for more details, such as CVSS details, affected products, timeline, and more…

    AIOps Unleashed: How AI is Revolutionizing IT Operations for the Digital Era🤖

    June 11, 2025

    CVE-2025-48384 affects Git Cli

    July 15, 2025

    CVE-2025-47811 – Wing FTP Server Privilege Escalation Vulnerability

    July 10, 2025
    © DevStackTips 2025. All rights reserved.
    • Contact
    • Privacy Policy

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