|
|
None | __init__ (self) |
| |
| None | set_options (self, Optional[float] timeout=_unset) |
| |
|
PageAssertions | __call__ (self, Page actual, Optional[str] message=None) |
| |
|
LocatorAssertions | __call__ (self, Locator actual, Optional[str] message=None) |
| |
|
APIResponseAssertions | __call__ (self, APIResponse actual, Optional[str] message=None) |
| |
|
Union[PageAssertions, LocatorAssertions, APIResponseAssertions] | __call__ (self, Union[Page, Locator, APIResponse] actual, Optional[str] message=None) |
| |
◆ set_options()
| None playwright.sync_api.Expect.set_options |
( |
|
self, |
|
|
Optional[float] |
timeout = _unset |
|
) |
| |
This method sets global `expect()` options.
Args:
timeout (float): Timeout value in milliseconds. Default to 5000 milliseconds.
Returns:
None
The documentation for this class was generated from the following file:
- docs/help/help-venv/lib/python3.12/site-packages/playwright/sync_api/__init__.py