
    /_iV                     >    d dl mZ d dlmZ d dlmZ  G d de      Zy)    )DesiredCapabilities)ClientConfig)RemoteConnectionc                   f     e Zd Zej                  d   Z	 	 	 d	dedededz  dedz  ddf
 fdZ	 xZ
S )
SafariRemoteConnectionbrowserNameNremote_server_addr
keep_aliveignore_proxyclient_configreturnc                     |xs t        ||d      }t        | 	  ||       d| j                  d<   d| j                  d<   d| j                  d	<   y )
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__s        j/var/www/html/land_sniper/venv/lib/python3.12/site-packages/selenium/webdriver/safari/remote_connection.pyr   zSafariRemoteConnection.__init__   sh     & 
1jRU*
 	%' 	 	

 -](),](),a()    )TFN)__name__
__module____qualname__r   SAFARIbrowser_namestrboolr   r   __classcell__)r   s   @r   r   r      sh    &--m<L
  $)-1bb b Tk	b
 $d*b 
b br   r   N).selenium.webdriver.common.desired_capabilitiesr   'selenium.webdriver.remote.client_configr   +selenium.webdriver.remote.remote_connectionr   r    r   r   <module>r*      s    & O @ Hb- br   