a
    xd                     @   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                    s4   t  j|||d d| jd< d| jd< d| jd< d S )N)r   )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__ c/var/www/html/Ranjet/env/lib/python3.9/site-packages/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   