
    X j                     J    S SK Jr  S SKJr  S SKJr  S SKJr   " S S\5      rg)    )Options)Service)ChromiumDriver)DesiredCapabilitiesc            	       V   ^  \ rS rSrSr   S
S\S-  S\S-  S\SS4U 4S jjjrS	r	U =r
$ )	WebDriver   z>Controls the ChromeDriver and allows you to drive the browser.Noptionsservice
keep_alivereturnc                    > U(       a  UO	[        5       nU(       a  UO	[        5       n[        TU ]  [        R
                  S   SUUUS9  g)aM  Creates a new instance of the chrome driver.

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

Args:
    options: Instance of Options.
    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       t/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/selenium/webdriver/chrome/webdriver.pyr   WebDriver.__init__   sG     %'')$''),33MB ! 	 	
     )NNT)__name__
__module____qualname____firstlineno____doc__r   r   boolr   __static_attributes____classcell__)r   s   @r   r   r      sI    H #'"&	
4
 4
 	

 

 
r   r   N)	!selenium.webdriver.chrome.optionsr   !selenium.webdriver.chrome.servicer   %selenium.webdriver.chromium.webdriverr   .selenium.webdriver.common.desired_capabilitiesr   r   r   r   r   <module>r(      s   $ 6 5 @ N
 
r   