o
    ѷ6iV                     @   s8   d dl mZ d dlmZ d dlmZ G dd deZdS )    )DesiredCapabilities)ClientConfig)RemoteConnectionc                       sL   e Zd Zejd Z			ddedededB dedB d	df
 fd
dZ	  Z
S )SafariRemoteConnectionbrowserNameTFNremote_server_addr
keep_aliveignore_proxyclient_configreturnc                    sD   |pt ||dd}t j||d d| jd< d| jd< d| jd	< d S )
Nx   )r   r   timeout)r	   r
   )GET%/session/$sessionId/apple/permissionsGET_PERMISSIONS)POSTr   SET_PERMISSIONS)r   z)/session/$sessionId/apple/attach_debuggerATTACH_DEBUGGER)r   super__init__	_commands)selfr   r   r	   r
   	__class__ p/var/www/hoanhtaovolam_webdjango/env/lib/python3.10/site-packages/selenium/webdriver/safari/remote_connection.pyr      s   

zSafariRemoteConnection.__init__)TFN)__name__
__module____qualname__r   SAFARIbrowser_namestrboolr   r   __classcell__r   r   r   r   r      s     
r   N).selenium.webdriver.common.desired_capabilitiesr   'selenium.webdriver.remote.client_configr   +selenium.webdriver.remote.remote_connectionr   r   r   r   r   r   <module>   s   