
    8h                     J    d dl mZ d dlmZ ddlmZ ddlmZ  G d de      Zy)	    )ChromiumDriver)DesiredCapabilities   )Options)Servicec                   8     e Zd ZdZ	 	 	 ddededdf fdZ xZS )	WebDriverz>Controls the MSEdgeDriver and allows you to drive the browser.Noptionsservicereturnc                     |r|n	t               }|r|n	t               }t        |   t        j
                  d   d|||       y)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__s       x/home/stella.sw7ft.com/public_html/site_rebuilder/venv/lib/python3.12/site-packages/selenium/webdriver/edge/webdriver.pyr   zWebDriver.__init__   sB     %'')$'')$$]3	
    )NNT)__name__
__module____qualname____doc__r   r   r   __classcell__)r   s   @r   r	   r	      s7    H  	

 

 

 
r   r	   N)	%selenium.webdriver.chromium.webdriverr   .selenium.webdriver.common.desired_capabilitiesr   r
   r   r   r   r	    r   r   <module>r       s    $ A N  
 
r   