
    ,hx                     J    d dl mZ d dlmZ d dlmZ d dlmZ  G d de      Zy)    )Optional)DesiredCapabilities)ClientConfig)RemoteConnectionc                   f     e Zd Zej                  d   Z	 	 	 d	dededee   dee	   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        m/var/www/html/Resume-Scraper/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   r   __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   <module>r,      s"   $  N @ Hb- br   