U
    PÖýf†  ã                   @   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dœ‡ fdd„Z‡  ZS )	ÚFirefoxRemoteConnectionZbrowserNameTFN)Úreturnc                    sF   t ƒ  |||¡ d| jd< d| jd< d| jd< d| jd< d	| jd
< d S )N)Ú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_aliveZignore_proxy©Ú	__class__© úP/tmp/pip-unpacked-wheel-ds5t_0qj/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.common.desired_capabilitiesr   Z+selenium.webdriver.remote.remote_connectionr   r   r   r   r   r   Ú<module>   s   