tethering
Accepted
dataclass
Informs that port was successfully bound and got a specified connection id.
Source code in zendriver/cdp/tethering.py
connection_id: str
instance-attribute
port: int
instance-attribute
__init__(port, connection_id)
bind(port)
Request browser port binding.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
port
|
int
|
Port number to bind. |
required |
Source code in zendriver/cdp/tethering.py
unbind(port)
Request browser port unbinding.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
port
|
int
|
Port number to unbind. |
required |