U
    PÖýfï  ã                   @   s,   d dl mZ d dlmZ G dd„ deƒZdS )é    )ÚDesiredCapabilities)ÚRemoteConnectionc                       s4   e Zd Zejd Zdeeeddœ‡ fdd„Z‡  Z	S )	ÚSafariRemoteConnectionZbrowserNameTFN)Úremote_server_addrÚ
keep_aliveÚignore_proxyÚreturnc                    s2   t ƒ  |||¡ d| jd< d| jd< d| jd< d S )N)ÚGETú%/session/$sessionId/apple/permissionsZGET_PERMISSIONS)ÚPOSTr
   ZSET_PERMISSIONS)r   z)/session/$sessionId/apple/attach_debuggerZATTACH_DEBUGGER)ÚsuperÚ__init__Z	_commands)Úselfr   r   r   ©Ú	__class__© úO/tmp/pip-unpacked-wheel-ds5t_0qj/selenium/webdriver/safari/remote_connection.pyr      s    

zSafariRemoteConnection.__init__)TF)
Ú__name__Ú
__module__Ú__qualname__r   ZSAFARIZbrowser_nameÚstrÚboolr   Ú__classcell__r   r   r   r   r      s   
r   N)Z.selenium.webdriver.common.desired_capabilitiesr   Z+selenium.webdriver.remote.remote_connectionr   r   r   r   r   r   Ú<module>   s   