
    /_i                     >    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 )
FirefoxRemoteConnection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	<   d
| j                  d<   d| j                  d<   y )Nx   )r	   r
   timeout)r   r   )GET/session/$sessionId/moz/contextGET_CONTEXT)POSTr   SET_CONTEXT)r   z%/session/$sessionId/moz/addon/installINSTALL_ADDON)r   z'/session/$sessionId/moz/addon/uninstallUNINSTALL_ADDON)r   z'/session/$sessionId/moz/screenshot/fullFULL_PAGE_SCREENSHOT)r   super__init__	_commands)selfr	   r
   r   r   	__class__s        k/var/www/html/land_sniper/venv/lib/python3.12/site-packages/selenium/webdriver/firefox/remote_connection.pyr   z FirefoxRemoteConnection.__init__   s     & 
1jRU*
 	%' 	 	

 )S}%(S}%*[',_()1c-.    )TFN)__name__
__module____qualname__r   FIREFOXbrowser_namestrboolr   r   __classcell__)r   s   @r   r   r      sh    &..}=L
  $)-1dd d Tk	d
 $d*d 
d d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d. dr   