a
    5ñ»jÀ  ã                   @   sD   d dl mZ d dlmZ ddlmZ ddlmZ G dd„ deƒZdS )	é    )ÚChromiumDriver)ÚDesiredCapabilitiesé   )ÚOptions)ÚServicec                       s.   e Zd ZdZdeeeddœ‡ fdd„Z‡  ZS )Ú	WebDriverz>Controls the MSEdgeDriver and allows you to drive the browser.NT)ÚoptionsÚserviceÚ
keep_aliveÚreturnc                    s<   |r|nt ƒ }|r|ntƒ }tƒ jtjd d|||d� dS )a‡  Creates a new instance of the edge driver. Starts the service and
        then creates new instance of edge driver.

        :Args:
         - options - this takes an instance of EdgeOptions
         - service - Service object for handling the browser driver if you need to pass extra details
         - keep_alive - Whether to configure EdgeRemoteConnection to use HTTP keep-alive.
        ZbrowserNameÚms)Zbrowser_nameZvendor_prefixr   r	   r
   N)r   r   ÚsuperÚ__init__r   ZEDGE)Úselfr   r	   r
   ©Ú	__class__© úGE:\soccer\ml_env\Lib\site-packages\selenium/webdriver/edge/webdriver.pyr      s    ûzWebDriver.__init__)NNT)	Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   Úboolr   Ú__classcell__r   r   r   r   r      s      üûr   N)	Z%selenium.webdriver.chromium.webdriverr   Z.selenium.webdriver.common.desired_capabilitiesr   r   r   r	   r   r   r   r   r   r   Ú<module>   s   