MCPcopy Index your code
hub / github.com/microsoft/playwright-python / timeout

Method timeout

playwright/_impl/_helper.py:314–321  ·  view source on GitHub ↗
(self, timeout: float = None)

Source from the content-addressed store, hash-verified

312 self._default_timeout = timeout
313
314 def timeout(self, timeout: float = None) -> float:
315 if timeout is not None:
316 return timeout
317 if self._default_timeout is not None:
318 return self._default_timeout
319 if self._parent:
320 return self._parent.timeout()
321 return DEFAULT_PLAYWRIGHT_TIMEOUT_IN_MILLISECONDS
322
323 def set_default_navigation_timeout(
324 self, navigation_timeout: Optional[float]

Callers 5

expect_eventMethod · 0.80
expect_eventMethod · 0.80
_timeoutMethod · 0.80
_expect_eventMethod · 0.80
expect_eventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected