
    vKgx                     J    S SK Jr  S SKJr  S SKJr  S SKJr   " S S\5      rg)    )Optional)DesiredCapabilities)ClientConfig)RemoteConnectionc                   t   ^  \ rS rSr\R
                  S   r   SS\S\S\	\   S\	\
   SS4
U 4S	 jjjrS
rU =r$ )SafariRemoteConnection   browserNameNremote_server_addr
keep_aliveignore_proxyclient_configreturnc                    > U=(       d
    [        XSS9n[        TU ]	  UUS9  SU R                  S'   SU R                  S'   SU R                  S	'   g )
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        k/var/www/highfloat_scraper/venv/lib/python3.13/site-packages/selenium/webdriver/safari/remote_connection.pyr   SafariRemoteConnection.__init__   sf     & 
1RU*
 	%' 	 	

 -](),](),a()     )TFN)__name__
__module____qualname____firstlineno__r   SAFARIbrowser_namestrboolr   r   r   __static_attributes____classcell__)r   s   @r   r   r      sh    &--m<L
  ',04bb b tn	b
  -b 
b br    r   N)	typingr   .selenium.webdriver.common.desired_capabilitiesr   'selenium.webdriver.remote.client_configr   +selenium.webdriver.remote.remote_connectionr   r   r!   r    r   <module>r0      s"   $  N @ Hb- br    