Skip to content

Python: a WebDriverWait leaves no row, so a timed-out wait shows nothing red #461

Closed

Description

@vishnuv688

What happens

A WebDriverWait(...).until(...) in a pytest test leaves no row in the Python adapter. Its polls are findElement commands, which are not actions, so a wait that times out produces a failed test with nothing red in the Actions list or the Errors tab; the TimeoutException only shows in the console output. Found while extending the conformance scenarios (#455).

Expected

A timed-out wait shows as a failed row naming its condition, as the Selenium Node.js adapter now does for driver.wait() (#453).

Where to look

packages/selenium-devtools-py/src/selenium_devtools/instrumentation.py. WebDriverWait lives in selenium's support.wait, so the adapter would need to observe it (for example by wrapping WebDriverWait.until / until_not) rather than the driver's execute.

Activity

  1. added
    bugSomething isn't working
    selenium-devtools-pyPython Selenium adapter for the DevTools dashboard
    on Oct 27, 2026
  2. self-assigned this
    on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingselenium-devtools-pyPython Selenium adapter for the DevTools dashboard

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions