o
    VìÑhï  ã                   @   s,   d dl mZ d dlmZ G dd„ deƒZdS )é    )ÚDesiredCapabilities)ÚRemoteConnectionc                	       s:   e Zd Zejd Zddedededdf‡ fd	d
„Z‡  Z	S )ÚSafariRemoteConnectionÚbrowserNameTFÚremote_server_addrÚ
keep_aliveÚignore_proxyÚreturnNc                    s2   t ƒ  |||¡ d| jd< d| jd< d| jd< d S )N)ÚGETú%/session/$sessionId/apple/permissionsÚGET_PERMISSIONS)ÚPOSTr   ÚSET_PERMISSIONS)r   z)/session/$sessionId/apple/attach_debuggerÚATTACH_DEBUGGER)ÚsuperÚ__init__Ú	_commands)Úselfr   r   r   ©Ú	__class__© úh/home/air/yokohama/back/venv/lib/python3.10/site-packages/selenium/webdriver/safari/remote_connection.pyr      s   

zSafariRemoteConnection.__init__)TF)
Ú__name__Ú
__module__Ú__qualname__r   ÚSAFARIÚbrowser_nameÚstrÚboolr   Ú__classcell__r   r   r   r   r      s    
(r   N)Ú.selenium.webdriver.common.desired_capabilitiesr   Ú+selenium.webdriver.remote.remote_connectionr   r   r   r   r   r   Ú<module>   s   