§
    °õi‡  ã                   ó:   — d dl mZ d dlmZ  G d„ de¦  «        ZdS )é    )ÚDesiredCapabilities)Ú
ArgOptionsc                   óœ   ‡ — 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„ Z	ede
eef         fd	„¦   «         Zˆ xZS )ÚOptionszwpe:browserOptionsÚreturnNc                 óV   •— t          ¦   «                              ¦   «          d| _        d S )NÚ )ÚsuperÚ__init__Ú_binary_location)ÚselfÚ	__class__s    €úp/var/www/html/nodeJS/PythonScripts/venv3.11/lib/python3.11/site-packages/selenium/webdriver/wpewebkit/options.pyr   zOptions.__init__   s'   ø€ Ý‰Œ×ÒÑÔÐØ "ˆÔÐÐó    c                 ó   — | j         S )zMReturns the location of the browser binary otherwise an empty
        string.)r   ©r   s    r   Úbinary_locationzOptions.binary_location   s   € ð Ô$Ð$r   Úvaluec                 óf   — t          |t          ¦  «        st          | j        ¦  «        ‚|| _        dS )zuAllows you to set the browser binary to launch.

        Args:
            value: path to the browser binary
        N)Ú
isinstanceÚstrÚ	TypeErrorÚBINARY_LOCATION_ERRORr   )r   r   s     r   r   zOptions.binary_location$   s5   € õ ˜%¥Ñ%Ô%ð 	8Ý˜DÔ6Ñ7Ô7Ð7Ø %ˆÔÐÐr   c                 óz   — | j         }i }| j        r
| j        |d<   | j        r
| j        |d<   ||t          j        <   |S )zpCreates a capabilities with all the options that have been set and
        returns a dictionary with everything.ÚbinaryÚargs)Ú_capsr   Ú	argumentsr   ÚKEY)r   ÚcapsÚbrowser_optionss      r   Úto_capabilitieszOptions.to_capabilities/   sO   € ð ŒzˆàˆØÔð 	=Ø(,Ô(<ˆO˜HÑ%ØŒ>ð 	5Ø&*¤nˆO˜FÑ#à+ˆ�WŒ[Ñàˆr   c                 ó>   — t           j                             ¦   «         S )N)r   Ú	WPEWEBKITÚcopyr   s    r   Údefault_capabilitieszOptions.default_capabilities>   s   € å"Ô,×1Ò1Ñ3Ô3Ð3r   )r   N)Ú__name__Ú
__module__Ú__qualname__r   r   Úpropertyr   r   Úsetterr"   Údictr&   Ú__classcell__)r   s   @r   r   r      sÙ   ø€ € € € € Ø
€Cð#ð #ð #ð #ð #ð #ð ð% ð %ð %ð %ñ „Xð%ð
 Ôð& Sð &¨Tð &ð &ð &ñ Ôð&ðð ð ð ð4 d¨3°¨8¤nð 4ð 4ð 4ñ „Xð4ð 4ð 4ð 4ð 4r   r   N)Ú.selenium.webdriver.common.desired_capabilitiesr   Ú!selenium.webdriver.common.optionsr   r   © r   r   ú<module>r1      s`   ðð& OÐ NÐ NÐ NÐ NÐ NØ 8Ð 8Ð 8Ð 8Ð 8Ð 8ð)4ð )4ð )4ð )4ð )4ˆjñ )4ô )4ð )4ð )4ð )4r   