Ë
    `§1h   ã                   ó>   — d dl mZ d dlmZ d dlmZ  G d„ de«      Zy)é    )ÚDict)Ú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                 ó0   •— t         ‰| �  «        d| _        y )NÚ )ÚsuperÚ__init__Ú_binary_location)ÚselfÚ	__class__s    €úb/var/www/skyplay_api_hub/venv/lib/python3.12/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                 ó\   — t        |t        «      st        | j                  «      ‚|| _        y)zvAllows 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%   s'   € ô ˜%¤Ô%Ü˜D×6Ñ6Ó7Ð7Ø %ˆÕr   c                 ó´   — | 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_capabilities0   sS   € ð �z‰zˆàˆØ×ÒØ(,×(<Ñ(<ˆO˜HÑ%Ø�>Š>Ø&*§n¡nˆO˜FÑ#à+ˆŒW�[‰[Ñàˆr   c                 ó>   — t         j                  j                  «       S )N)r   Ú	WPEWEBKITÚcopyr   s    r   Údefault_capabilitieszOptions.default_capabilities?   s   € ä"×,Ñ,×1Ñ1Ó3Ð3r   )r   N)Ú__name__Ú
__module__Ú__qualname__r    r   Úpropertyr   r   Úsetterr#   r   r'   Ú__classcell__)r   s   @r   r   r      sx   ø„ Ø
€Cõ#ð ð% ò %ó ð%ð
 ×Ñð& Sð &¨Tò &ó ð&òð ð4 d¨3°¨8¡nò 4ó ô4r   r   N)Útypingr   Ú.selenium.webdriver.common.desired_capabilitiesr   Ú!selenium.webdriver.common.optionsr   r   © r   r   ú<module>r2      s   ðõ$ å NÝ 8ô)4ˆjõ )4r   