a
    Šxdž  ã                   @   sZ   d dl Z dZdZdZdZeeehZdZdZdZeeehZ	G d	d
„ d
ƒZ
G dd„ de
ƒZdS )é    NÚkeyÚpointerÚnoneÚwheelZmouseÚtouchZpenc                   @   s   e Zd ZdZddœdd„ZdS )ÚInteractionÚpauseN©Úreturnc                 C   s
   || _ d S ©N)Úsource)Úselfr   © r   úe/var/www/html/Ranjet/env/lib/python3.9/site-packages/selenium/webdriver/common/actions/interaction.pyÚ__init__#   s    zInteraction.__init__)Ú__name__Ú
__module__Ú__qualname__ÚPAUSEr   r   r   r   r   r       s   r   c                       sH   e Zd Zd	eddœ‡ fdd„Zejeejee	f f dœdd„Z
‡  ZS )
ÚPauser   N)Údurationr
   c                    s   t ƒ  |¡ || _d S r   )Úsuperr   r   )r   r   r   ©Ú	__class__r   r   r   (   s    zPause.__init__r	   c                 C   s   | j t| jd ƒdœS )Niè  )Útyper   )r   Úintr   )r   r   r   r   Úencode,   s    zPause.encode)r   )r   r   r   Úfloatr   ÚtypingÚDictÚstrÚUnionr   r   Ú__classcell__r   r   r   r   r   '   s   r   )r   ZKEYÚPOINTERÚNONEZWHEELZSOURCE_TYPESZPOINTER_MOUSEZPOINTER_TOUCHZPOINTER_PENZPOINTER_KINDSr   r   r   r   r   r   Ú<module>   s   

