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

      Sunshine And March Vibes (2025 Wallpapers Edition)

      May 14, 2025

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

      May 14, 2025

      How To Fix Largest Contentful Paint Issues With Subpart Analysis

      May 14, 2025

      How To Prevent WordPress SQL Injection Attacks

      May 14, 2025

      I test a lot of AI coding tools, and this stunning new OpenAI release just saved me days of work

      May 14, 2025

      How to use your Android phone as a webcam when your laptop’s default won’t cut it

      May 14, 2025

      The 5 most customizable Linux desktop environments – when you want it your way

      May 14, 2025

      Gen AI use at work saps our motivation even as it boosts productivity, new research shows

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

      Strategic Cloud Partner: Key to Business Success, Not Just Tech

      May 14, 2025
      Recent

      Strategic Cloud Partner: Key to Business Success, Not Just Tech

      May 14, 2025

      Perficient’s “What If? So What?” Podcast Wins Gold at the 2025 Hermes Creative Awards

      May 14, 2025

      PIM for Azure Resources

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

      Windows 11 24H2’s Settings now bundles FAQs section to tell you more about your system

      May 14, 2025
      Recent

      Windows 11 24H2’s Settings now bundles FAQs section to tell you more about your system

      May 14, 2025

      You can now share an app/browser window with Copilot Vision to help you with different tasks

      May 14, 2025

      Microsoft will gradually retire SharePoint Alerts over the next two years

      May 14, 2025
    • Learning Resources
      • Books
      • Cheatsheets
      • Tutorials & Guides
    Home»Development»Can’t get text out of Webelement using Selenium

    Can’t get text out of Webelement using Selenium

    May 6, 2024

    I’m using Python 3.11.5, and I want to extract text from a Webelement with selenium.

    I use Chromedriver as a driver, and I want to find an element By.CLASS_NAME

    Here is my code

    What happens ?

    When I print (element), it gives me a Webdriver element, which I can’t read.

    When I print (element.text), it gives me an error :

    Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘NewConnectionError(‘<urllib3.connection.HTTPConnection object at 0x000001DDFE4F0690>: Failed to establish a new connection: [WinError 10061] Aucune connexion n’a pu être établie car l’ordinateur cible l’a expressément refusée’)’: /session/0109eeaf781d2f899ee82e0fd10eac19/execute/sync

    What have I tried ?

    After using driver.get(url), I already tried to apply time.sleep(10)

    I checked my versions of Chrome + Chromedriver

    I disabled my proxy

    Do you have any idea about what the problem is ?

    Source: Read More

    Facebook Twitter Reddit Email Copy Link
    Previous ArticleIs it possible to validate response with json schema file in karate?
    Next Article How to grab other data inside class with Selenium

    Related Posts

    Security

    Nmap 7.96 Launches with Lightning-Fast DNS and 612 Scripts

    May 15, 2025
    Common Vulnerabilities and Exposures (CVEs)

    CVE-2025-30419 – NI Circuit Design Suite SymbolEditor Out-of-Bounds Read Vulnerability

    May 15, 2025
    Leave A Reply Cancel Reply

    Continue Reading

    Beware: GitHub’s Fake Popularity Scam Tricking Developers into Downloading Malware

    Development

    Distribution Release: MX Linux 23.6

    News & Updates

    150,000 Sites Compromised by JavaScript Injection Promoting Chinese Gambling Platforms

    Development

    Apple Fitness Plus gets a big update for the new year: 5 new or improved features

    Development

    Highlights

    Artificial Intelligence

    Measuring perception in AI models

    May 13, 2025

    Perception – the process of experiencing the world through senses – is a significant part…

    3D modeling you can feel

    April 22, 2025

    How to Install Magento 2 via Composer (6 Easy Steps)

    February 17, 2025

    DAI#42 – Hot chips, bad memory, and AI ups and downs

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

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