MCPcopy
hub / github.com/microsoft/playwright-python / __init__

Method __init__

playwright/_impl/_assertions.py:135–144  ·  view source on GitHub ↗
(
        self,
        page: Page,
        timeout: float = None,
        is_not: bool = False,
        message: Optional[str] = None,
        is_soft: bool = False,
    )

Source from the content-addressed store, hash-verified

133
134class PageAssertions(AssertionsBase):
135 def __init__(
136 self,
137 page: Page,
138 timeout: float = None,
139 is_not: bool = False,
140 message: Optional[str] = None,
141 is_soft: bool = False,
142 ) -> None:
143 super().__init__(page.locator(":root"), timeout, is_not, message, is_soft)
144 self._actual_page = page
145
146 async def _call_expect(
147 self, expression: str, expect_options: FrameExpectOptions, title: Optional[str]

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
locatorMethod · 0.45

Tested by

no test coverage detected