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

Method _call_expect

playwright/_impl/_assertions.py:146–152  ·  view source on GitHub ↗
(
        self, expression: str, expect_options: FrameExpectOptions, title: Optional[str]
    )

Source from the content-addressed store, hash-verified

144 self._actual_page = page
145
146 async def _call_expect(
147 self, expression: str, expect_options: FrameExpectOptions, title: Optional[str]
148 ) -> FrameExpectResult:
149 __tracebackhide__ = True
150 return await self._actual_page.main_frame._expect(
151 None, expression, expect_options, title
152 )
153
154 @property
155 def _not(self) -> "PageAssertions":

Callers

nothing calls this directly

Calls 1

_expectMethod · 0.45

Tested by

no test coverage detected