o
    VìÑ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                    sF   t ƒ  |||¡ d| jd< d| jd< d| jd< d| jd< d	| jd
< d S )N)Ú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_aliveÚignore_proxy©Ú	__class__© úi/home/air/yokohama/back/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   