
    ,h                     2    d dl mZ d dlmZ  G d de      Zy)    )ChromiumOptions)DesiredCapabilitiesc                        e Zd ZdZd
 fdZedefd       Zej                  deddfd       Zde	f fdZ
ede	fd	       Z xZS )Optionszms:edgeOptionsreturnNc                 0    t         |           d| _        y )NF)super__init___use_webview)self	__class__s    a/var/www/html/Resume-Scraper/venv/lib/python3.12/site-packages/selenium/webdriver/edge/options.pyr
   zOptions.__init__   s    !    c                     | j                   S N)r   r   s    r   use_webviewzOptions.use_webview   s       r   valuec                 $    t        |      | _        y r   )boolr   )r   r   s     r   r   zOptions.use_webview!   s     Kr   c                 F    t         |          }| j                  rd|d<   |S )zrCreates a capabilities with all the options that have been set and
        :Returns: A dictionary with everything.webview2browserName)r	   to_capabilitiesr   )r   capsr   s     r   r   zOptions.to_capabilities%   s*     w&(",Dr   c                 >    t         j                  j                         S r   )r   EDGEcopyr   s    r   default_capabilitieszOptions.default_capabilities.   s    "'',,..r   )r   N)__name__
__module____qualname__KEYr
   propertyr   r   setterdictr   r   __classcell__)r   s   @r   r   r      sw    
C" !T ! ! ( ($ ( (  /d / /r   r   N)#selenium.webdriver.chromium.optionsr   .selenium.webdriver.common.desired_capabilitiesr   r    r   r   <module>r+      s   $ @ N/o /r   