o
    ҷh                     @   s,   d dl mZ d dlmZ G dd deZdS )    )DesiredCapabilities)RemoteConnectionc                       s*   e Zd Zejd Zdd	 fddZ  ZS )
FirefoxRemoteConnectionbrowserNameTFreturnNc                    sH   t  j|||d d| jd< d| jd< d| jd< d| jd	< d
| jd< d S )N)ignore_proxy)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)super__init__	_commands)selfremote_server_addr
keep_aliver   	__class__ _/var/www/html/venv/lib/python3.10/site-packages/selenium/webdriver/firefox/remote_connection.pyr      s   



z FirefoxRemoteConnection.__init__)TF)r   N)__name__
__module____qualname__r   FIREFOXbrowser_namer   __classcell__r   r   r   r   r      s    
r   N).selenium.webdriver.common.desired_capabilitiesr   +selenium.webdriver.remote.remote_connectionr   r   r   r   r   r   <module>   s   