
    Y 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)    )ChromiumDriver)DesiredCapabilities)Options)Servicec            	       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 MSEdgeDriver and allows you to drive the browser.Noptionsservice
keep_alivereturnc                    > U(       a  UO	[        5       U l        U(       a  UO	[        5       U l        [        TU ]  [        R                  S   SU R                  U R                  US9  g)aG  Creates a new instance of the edge driver.

Starts the service and then creates new instance of edge 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 EdgeRemoteConnection to use HTTP keep-alive.
browserNamems)browser_namevendor_prefixr
   r   r   N)r   r   r   r
   super__init__r   EDGE)selfr
   r   r   	__class__s       r/root/GenerationalWealth/GenerationalWealth/venv/lib/python3.13/site-packages/selenium/webdriver/edge/webdriver.pyr   WebDriver.__init__   sS     #*wwy")wwy,11-@LLLL! 	 	
    )r
   r   )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.chromium.webdriverr   .selenium.webdriver.common.desired_capabilitiesr   selenium.webdriver.edge.optionsr   selenium.webdriver.edge.servicer   r    r   r   <module>r(      s    $ A N 3 3
 
r   