
    +g                     `    S SK Jr  S SKJr  S SKJr  S SKJr   " S S\5      r " S S\5      rg	)
   )interaction)InputDevice)Interaction)Pausec                   l   ^  \ rS rSrS\SS4U 4S jjrS\4S jrSS jrSS jr	SS	\
SS4S
 jjrSrU =r$ )KeyInput   namereturnNc                 X   > [         TU ]  5         Xl        [        R                  U l        g N)super__init__r
   r   KEYtype)selfr
   	__class__s     s/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/selenium/webdriver/common/actions/key_input.pyr   KeyInput.__init__   s    	OO	    c                     U R                   U R                  U R                   Vs/ s H  oR                  5       PM     snS.$ s  snf )N)r   idactions)r   r
   r   encode)r   actss     r   r   KeyInput.encode   s7    		Z^ZfZf?gZfRVZf?ghh?gs   Ac                 <    U R                  [        U SU5      5        g )NkeyDown
add_actionTypingInteractionr   keys     r   create_key_downKeyInput.create_key_down    s    )$	3?@r   c                 <    U R                  [        U SU5      5        g )NkeyUpr   r"   s     r   create_key_upKeyInput.create_key_up#   s    )$=>r   pause_durationc                 8    U R                  [        X5      5        g r   )r    r   )r   r*   s     r   create_pauseKeyInput.create_pause&   s    d34r   )r
   r   r   N)    )__name__
__module____qualname____firstlineno__strr   dictr   r$   r(   floatr,   __static_attributes____classcell__r   s   @r   r   r      sG    $S $T $
i iA?55 5 5 5r   r   c                   :   ^  \ rS rSrSU 4S jjrS\4S jrSrU =r$ )r!   *   r   c                 <   > [         TU ]  U5        X l        X0l        g r   )r   r   r   r#   )r   sourcetype_r#   r   s       r   r   TypingInteraction.__init__+   s     	r   c                 4    U R                   U R                  S.$ )N)r   value)r   r#   )r   s    r   r   TypingInteraction.encode0   s    		DHH55r   )r#   r   r.   )	r0   r1   r2   r3   r   r5   r   r7   r8   r9   s   @r   r!   r!   *   s    
6 6 6r   r!   N) r   input_devicer   r   r   r   r!    r   r   <module>rF      s+   "  % $ 5{ 5&6 6r   