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

Method __init__

playwright/_impl/_assertions.py:64–78  ·  view source on GitHub ↗
(
        self,
        locator: Locator,
        timeout: float = None,
        is_not: bool = False,
        message: Optional[str] = None,
        is_soft: bool = False,
    )

Source from the content-addressed store, hash-verified

62
63class AssertionsBase:
64 def __init__(
65 self,
66 locator: Locator,
67 timeout: float = None,
68 is_not: bool = False,
69 message: Optional[str] = None,
70 is_soft: bool = False,
71 ) -> None:
72 self._actual_locator = locator
73 self._loop = locator._loop
74 self._dispatcher_fiber = locator._dispatcher_fiber
75 self._timeout = timeout
76 self._is_not = is_not
77 self._custom_message = message
78 self._is_soft = is_soft
79
80 async def _call_expect(
81 self, expression: str, expect_options: FrameExpectOptions, title: Optional[str]

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected