(self, page: Page, width: int, height: int)
| 36 | return result |
| 37 | |
| 38 | async def verify_viewport(self, page: Page, width: int, height: int): |
| 39 | assert cast(ViewportSize, page.viewport_size)["width"] == width |
| 40 | assert cast(ViewportSize, page.viewport_size)["height"] == height |
| 41 | assert await page.evaluate("window.innerWidth") == width |
| 42 | assert await page.evaluate("window.innerHeight") == height |
| 43 | |
| 44 | async def register_selector_engine(self, selectors: Selectors, *args, **kwargs) -> None: |
| 45 | try: |
nothing calls this directly
no outgoing calls
no test coverage detected