a
    RýIh  ã                   @   s$   d dl mZ deeedœdd„ZdS )é    )ÚDictN)ÚmethodÚparamsÚreturnc                 c   s    |du ri }| |dœ}|V }|S )a  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.
    N)r   r   © )r   r   ÚcommandÚcmdr   r   ú_/var/www/html/venv_bot_3.9/lib/python3.9/site-packages/selenium/webdriver/common/bidi/common.pyÚcommand_builder   s
    
r
   )N)Útypingr   Ústrr
   r   r   r   r	   Ú<module>   s   