a
    .c                     @   s,   d dl mZ d dlmZ G dd deZdS )    )RemoteConnection)DesiredCapabilitiesc                       s(   e Zd Zejd Zd fdd	Z  ZS )FirefoxRemoteConnectionZbrowserNameTFc                    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/contextZGET_CONTEXT)POSTr   ZSET_CONTEXT)r   z%/session/$sessionId/moz/addon/installZINSTALL_ADDON)r   z'/session/$sessionId/moz/addon/uninstallZUNINSTALL_ADDON)r   z'/session/$sessionId/moz/screenshot/fullZFULL_PAGE_SCREENSHOT)super__init__Z	_commands)selfZremote_server_addr
keep_aliver   	__class__ f/var/www/brookimports/venv/lib/python3.9/site-packages/selenium/webdriver/firefox/remote_connection.pyr
      s    

z FirefoxRemoteConnection.__init__)TF)__name__
__module____qualname__r   ZFIREFOXZbrowser_namer
   __classcell__r   r   r   r   r      s   
r   N)Z+selenium.webdriver.remote.remote_connectionr   Z.selenium.webdriver.common.desired_capabilitiesr   r   r   r   r   r   <module>   s   