o
    Ò·h‚  ã                   @   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                       s6   e Zd ZdZ			d	dededdf‡ fdd„Z‡  ZS )
Ú	WebDriverz>Controls the MSEdgeDriver and allows you to drive the browser.NTÚoptionsÚserviceÚreturnc                    s:   |r|nt ƒ }|r|ntƒ }tƒ  tj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.
        ÚbrowserNameÚmsN)r   r   ÚsuperÚ__init__r   ÚEDGE)Úselfr   r	   Ú
keep_alive©Ú	__class__© úT/var/www/html/venv/lib/python3.10/site-packages/selenium/webdriver/edge/webdriver.pyr      s   ûzWebDriver.__init__)NNT)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   Ú__classcell__r   r   r   r   r      s    üþýûr   N)	Ú%selenium.webdriver.chromium.webdriverr   Ú.selenium.webdriver.common.desired_capabilitiesr   r   r   r	   r   r   r   r   r   r   Ú<module>   s
   