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

Method fallback

playwright/_impl/_network.py:493–503  ·  view source on GitHub ↗
(
        self,
        url: str = None,
        method: str = None,
        headers: Dict[str, str] = None,
        postData: Union[Any, str, bytes] = None,
    )

Source from the content-addressed store, hash-verified

491 )
492
493 async def fallback(
494 self,
495 url: str = None,
496 method: str = None,
497 headers: Dict[str, str] = None,
498 postData: Union[Any, str, bytes] = None,
499 ) -> None:
500 overrides = cast(FallbackOverrideParameters, locals_to_params(locals()))
501 self._check_not_handled()
502 self.request._apply_fallback_overrides(overrides)
503 self._report_handled(False)
504
505 async def continue_(
506 self,

Callers 15

_handleMethod · 0.45
test_should_workFunction · 0.45
_handler1Function · 0.45
_handler2Function · 0.45
_handler3Function · 0.45
handlerFunction · 0.45
test_should_chain_onceFunction · 0.45
handler_with_header_modsFunction · 0.45
delete_foo_headerFunction · 0.45
test_should_amend_methodFunction · 0.45

Calls 4

_check_not_handledMethod · 0.95
_report_handledMethod · 0.95
locals_to_paramsFunction · 0.90

Tested by 15

test_should_workFunction · 0.36
_handler1Function · 0.36
_handler2Function · 0.36
_handler3Function · 0.36
handlerFunction · 0.36
test_should_chain_onceFunction · 0.36
handler_with_header_modsFunction · 0.36
delete_foo_headerFunction · 0.36
test_should_amend_methodFunction · 0.36