
    vKg                     :    S SK r S SKJr  S SKJr   " S S\5      rg)    N)DesiredCapabilities)
ArgOptionsc                      ^  \ rS rSrSrSU 4S jjr\S\4S j5       r\R                  S\SS4S j5       rS	 r
\S\R                  \\4   4S
 j5       rSrU =r$ )Options   zwpe:browserOptionsreturnNc                 0   > [         TU ]  5         SU l        g )N )super__init___binary_location)self	__class__s    d/var/www/highfloat_scraper/venv/lib/python3.13/site-packages/selenium/webdriver/wpewebkit/options.pyr   Options.__init__   s     "    c                     U R                   $ )zEReturns the location of the browser binary otherwise an empty
string.r   r   s    r   binary_locationOptions.binary_location   s     $$$r   valuec                 d    [        U[        5      (       d  [        U R                  5      eXl        g)z^Allows 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   r   $   s(     %%%D6677 %r   c                     U R                   n0 nU R                  (       a  U R                  US'   U R                  (       a  U R                  US'   X![        R                  '   U$ )zhCreates 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_capabilitiesOptions.to_capabilities/   sQ     zz(,(<(<OH%>>&*nnOF#+W[[r   c                 >    [         R                  R                  5       $ )N)r   	WPEWEBKITcopyr   s    r   default_capabilitiesOptions.default_capabilities>   s    ",,1133r   r   )r   N)__name__
__module____qualname____firstlineno__r#   r   propertyr   r   setterr&   typingDictr+   __static_attributes____classcell__)r   s   @r   r   r      s}    
C# % % %
 &S &T & & 4fkk#s(&; 4 4r   r   )r3   .selenium.webdriver.common.desired_capabilitiesr   !selenium.webdriver.common.optionsr   r    r   r   <module>r:      s   "  N 8)4j )4r   