Skip to content

[🐛 Bug]: Timeout exception when using webdriver wait. Even if explicitly told to ignore. #15310

@CapedBojji

Description

@CapedBojji

What happened?

Current python version is 3.13.2
Current selenium version is 4.28.1
Current chrome version is latest. I literally just downloaded chrome

How can we reproduce the issue?

def main():
    browser = Chrome()

    browser.get('https://www.google.com')

    if (WebDriverWait(browser, 3, ignored_exceptions=(TimeoutException, TimeoutError)).until(
        EC.url_contains("atoz.com")
    )): 
        print("Success")

Relevant log output

It raises a timeout exception.

Operating System

Windows 10

Selenium version

Python 3.13.2

What are the browser(s) and version(s) where you see this issue?

Chrome latest version

What are the browser driver(s) and version(s) where you see this issue?

Chrome latest version

Are you using Selenium Grid?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!I-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions