
    Yh,                     B    S SK JrJr  S SKJr  S SKJr   " S S\5      rg)    )AnyDict)ChannelOwner)locals_to_paramsc            
       v   ^  \ rS rSrS\S\S\S\SS4
U 4S jjrS	\SS4S
 jr	SS\S	\S\4S jjr
SS jrSrU =r$ )
CDPSession   parenttypeguidinitializerreturnNc                 h   >^  [         TT ]  XX45        T R                  R                  SU 4S j5        g )Neventc                 &   > TR                  U 5      $ N)	_on_event)paramsselfs    O/var/www/html/env/lib/python3.13/site-packages/playwright/_impl/_cdp_session.py<lambda>%CDPSession.__init__.<locals>.<lambda>   s    1G    )super__init___channelon)r   r
   r   r   r   	__class__s   `    r   r   CDPSession.__init__   s)     	t9"GHr   r   c                 L    U R                  US   UR                  S5      5        g )Nmethodr   )emitget)r   r   s     r   r   CDPSession._on_event   s    		&"FJJx$89r   r!   c                 x   #    U R                   R                  S[        [        5       5      5      I S h  vN $  N7f)Nsend)r   r&   r   locals)r   r!   r   s      r   r&   CDPSession.send   s*     ]]''0@0JKKKKs   1:8:c                 V   #    U R                   R                  S5      I S h  vN   g  N7f)Ndetach)r   r&   )r   s    r   r*   CDPSession.detach"   s     mm  ***s   )') r   )r   N)__name__
__module____qualname____firstlineno__r   strr   r   r   r   r&   r*   __static_attributes____classcell__)r   s   @r   r   r      sq    I"I*-I58IGKI	I: : :L Ld Ld L+ +r   r   N)typingr   r   playwright._impl._connectionr   playwright._impl._helperr   r   r,   r   r   <module>r7      s     5 5+ +r   