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

Method navigation_timeout

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

Source from the content-addressed store, hash-verified

332 return self._default_timeout
333
334 def navigation_timeout(self, timeout: float = None) -> float:
335 if timeout is not None:
336 return timeout
337 if self._default_navigation_timeout is not None:
338 return self._default_navigation_timeout
339 if self._default_timeout is not None:
340 return self._default_timeout
341 if self._parent:
342 return self._parent.navigation_timeout()
343 return DEFAULT_PLAYWRIGHT_TIMEOUT_IN_MILLISECONDS
344
345
346def serialize_error(ex: Exception, tb: Optional[TracebackType]) -> ErrorPayload:

Callers 3

expect_navigationMethod · 0.80
_navigation_timeoutMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected