
     f                     R    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dS )	    )ChromiumDriver)DesiredCapabilities   )Options)Servicec            	       <     e Zd ZdZ	 	 	 d	dedededdf fdZ xZS )
	WebDriverz>Controls the ChromeDriver and allows you to drive the browser.NToptionsservice
keep_alivereturnc                     |r|nt                      }|r|nt                      }t                                          t          j        d         d|||           dS )a  Creates a new instance of the chrome driver. Starts the service and
        then creates new instance of chrome driver.

        :Args:
         - options - this takes an instance of ChromeOptions
         - service - Service object for handling the browser driver if you need to pass extra details
         - keep_alive - Whether to configure ChromeRemoteConnection to use HTTP keep-alive.
        browserNamegoog)browser_namevendor_prefixr
   r   r   N)r   r   super__init__r   CHROME)selfr
   r   r   	__class__s       f/var/www/api.educacionweb.es/myenv/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.pyr   zWebDriver.__init__   sk     %3'''))$3''')),3MB ! 	 	
 	
 	
 	
 	
    )NNT)	__name__
__module____qualname____doc__r   r   boolr   __classcell__)r   s   @r   r	   r	      sy        H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 N N N N N            
 
 
 
 
 
 
 
 
 
r   