
    8h"	                     V    d dl mZ 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	)
    )DriverFinder)RemoteConnection)	WebDriver   )Options)Servicec                   D     e Zd ZdZ	 	 	 ddededdf fdZd	 fdZ xZS )
r   zJControls the IEServerDriver and allows you to drive Internet
    Explorer.Noptionsservicereturnc                 b   |r|n	t               | _        |r|n	t               }t        j                  | j                  |      | j                  _        | j                  j                          t        | j                  j                  ||j                        }t        | -  ||       d| _        y)a  Creates a new instance of the Ie driver.

        Starts the service and then creates new instance of Ie driver.

        :Args:
         - options - IE Options instance, providing additional IE options
         - service - (Optional) service instance for managing the starting and stopping of the driver.
         - keep_alive - Deprecated: Whether to configure RemoteConnection to use HTTP keep-alive.
        )remote_server_addr
keep_aliveignore_proxy)command_executorr
   FN)r   r   r   r   get_pathpathstartr   service_url_ignore_local_proxysuper__init__
_is_remote)selfr
   r   r   executor	__class__s        v/home/stella.sw7ft.com/public_html/site_rebuilder/venv/lib/python3.12/site-packages/selenium/webdriver/ie/webdriver.pyr   zWebDriver.__init__   s      #*wwy$'')(11$,,H##||77! 44
 	(GD    c                 V    t         |           | j                  j                          y )N)r   quitr   stop)r   r   s    r   r    zWebDriver.quit=   s    r   )NNT)r   N)	__name__
__module____qualname____doc__r   r   r   r    __classcell__)r   s   @r   r   r      s>    
  	    
 
 > r   r   N)'selenium.webdriver.common.driver_finderr   +selenium.webdriver.remote.remote_connectionr   #selenium.webdriver.remote.webdriverr   RemoteWebDriverr
   r   r   r    r   r   <module>r,      s#   $ A H L  % %r   