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

      Anthropic proposes transparency framework for frontier AI development

      July 8, 2025

      Sonatype Open Source Malware Index, Gemini API Batch Mode, and more – Daily News Digest

      July 8, 2025

      15 Top Node.js Development Service Providers for Large Enterprises in 2026

      July 8, 2025

      Droip: The Modern Website Builder WordPress Needed

      July 8, 2025

      The gaming headset I use every day is slashed to its lowest price ever thanks to Amazon Prime Day — “stellar battery life” awaits

      July 9, 2025

      How passkeys work: The complete guide to your inevitable passwordless future

      July 9, 2025

      This Sony OLED TV is my pick for best Prime Day deal – and it’s the last chance to get 50% off

      July 9, 2025

      Blizzard announces release date for World of Warcraft: The War Within’s 3rd major content patch — a patch that will feature the largest, city-sized raid boss in MMORPG history

      July 8, 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

      Top PHP Projects for B.Tech Students: Learn Real Skills with PHPGurukul Projects

      July 8, 2025
      Recent

      Top PHP Projects for B.Tech Students: Learn Real Skills with PHPGurukul Projects

      July 8, 2025

      Deno 2.4: deno bundle is back

      July 8, 2025

      From Silos to Synergy: Accelerating Your AI Journey

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

      The gaming headset I use every day is slashed to its lowest price ever thanks to Amazon Prime Day — “stellar battery life” awaits

      July 9, 2025
      Recent

      The gaming headset I use every day is slashed to its lowest price ever thanks to Amazon Prime Day — “stellar battery life” awaits

      July 9, 2025

      Blizzard announces release date for World of Warcraft: The War Within’s 3rd major content patch — a patch that will feature the largest, city-sized raid boss in MMORPG history

      July 8, 2025

      Microsoft recently raised the price of the Xbox Series S, but these retailers just dropped it back down again — close to the old price, but not for long

      July 8, 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

    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-49697 – Microsoft Office Heap Buffer Overflow Vulnerability

    July 9, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-49701 – Microsoft Office SharePoint Cross-Site Scripting (XSS)

    July 9, 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

    What’s new in iOS 18.4? AI priority notifications and 9 other big updates

    News & Updates
    New Adobe Security Update Fixes Critical Exploits — Don’t Delay Your Update

    New Adobe Security Update Fixes Critical Exploits — Don’t Delay Your Update

    Development

    CVE-2025-6755 – WordPress Game Users Share Buttons Plugin Remote Code Execution and File Deletion Vulnerability

    Common Vulnerabilities and Exposures (CVEs)

    Critical Langflow Vulnerability (CVE-2025-3248) Actively Exploited, Warns CISA

    Security

    Highlights

    Linux

    Canonical Donating $120,000 to Open Source Projects This Year

    May 13, 2025

    Canonical commits to donating $120k to the open source developers building the projects and tools…

    CVE-2025-41654 – “IBM AIX SNMP Process Information Disclosure and Reboot Vulnerability”

    May 26, 2025

    G20 2014 Summit Lure used to target Tibetan activists

    April 9, 2025

    Protect your important files in this encrypted, spacious SSD – now $80 off for Prime Day

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

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