Close the browser. Args: force: Whether to force close all open pages before closing the browser. Raises: ValueError: If there are still open pages when trying to close the browser.
(self, *, force: bool = False)
| 87 | |
| 88 | @abstractmethod |
| 89 | async def close(self, *, force: bool = False) -> None: |
| 90 | """Close the browser. |
| 91 | |
| 92 | Args: |
| 93 | force: Whether to force close all open pages before closing the browser. |
| 94 | |
| 95 | Raises: |
| 96 | ValueError: If there are still open pages when trying to close the browser. |
| 97 | """ |
no outgoing calls
no test coverage detected