selenium.webdriver.common.bidi.common

Functions

command_builder(method[, params])

Build a command iterator to send to the BiDi protocol.

selenium.webdriver.common.bidi.common.command_builder(method: str, params: Dict = None) Dict[source]

Build a command iterator to send to the BiDi protocol.

Parameters:

method: The method to execute. params: The parameters to pass to the method. Default is None.

Returns:

The response from the command execution.