Ë
    ]Àj  ã                  óB   — d Z ddlmZ ddlmZ ddlmZ 	 d	 	 	 	 	 dd„Zy)	z/Common utilities for BiDi command construction.é    )Úannotations)Ú	Generator)ÚAnyNc              #  ó$   K  — |€i }| |dœ–—}|S ­w)ad  Build a BiDi command generator.

    Args:
        method: The BiDi method name (e.g., "session.status", "browser.close")
        params: The parameters for the command. If omitted, an empty
            dictionary is sent.

    Yields:
        A dictionary representing the BiDi command

    Returns:
        The result from the BiDi command execution
    )ÚmethodÚparams© )r   r   Úresults      úY/home/ubuntu/.local/lib/python3.12/site-packages/selenium/webdriver/common/bidi/common.pyÚcommand_builderr      s$   è ø€ ð  €~ØˆØ$°Ñ7Ñ7€FØ€Mùs   ‚)N)r   Ústrr   zdict[str, Any] | NoneÚreturnz#Generator[dict[str, Any], Any, Any])Ú__doc__Ú
__future__r   Úcollections.abcr   Útypingr   r   r	   ó    r   ú<module>r      s5   ðñ$ 6å "å %Ý ð 26ðØðØ.ðà(ôr   