|
| typing.Dict | send (self, str method, typing.Optional[typing.Dict] params=None) |
| |
| None | detach (self) |
| |
| None | __init__ (self, Any impl_obj) |
| |
|
str | __str__ (self) |
| |
| None | on (self, Any event, Any f) |
| |
| None | once (self, Any event, Any f) |
| |
| None | remove_listener (self, Any event, Any f) |
| |
|
str | __repr__ (self) |
| |
|
|
Callable[..., None] | _wrap_handler (self, Union[Callable[..., Any], Any] handler) |
| |
|
| _loop |
| |
|
| _impl_obj |
| |
◆ detach()
| None playwright.async_api._generated.CDPSession.detach |
( |
|
self | ) |
|
CDPSession.detach
Detaches the CDPSession from the target. Once detached, the CDPSession object won't emit any events and can't be
used to send messages.
◆ send()
| typing.Dict playwright.async_api._generated.CDPSession.send |
( |
|
self, |
|
|
str |
method, |
|
|
typing.Optional[typing.Dict] |
params = None |
|
) |
| |
CDPSession.send
Parameters
----------
method : str
Protocol method name.
params : Union[Dict, None]
Optional method parameters.
Returns
-------
Dict
The documentation for this class was generated from the following file:
- docs/help/help-venv/lib/python3.12/site-packages/playwright/async_api/_generated.py