
    vKgJ(                        S r SSKJr  SSKJr  SrSr " S S\5      r " S S	\5      r " S
 S\5      r	 " S S\5      r
 " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S S\5      r " S  S!\5      r " S" S#\5      r " S$ S%\5      r " S& S'\5      r " S( S)\5      r " S* S+\5      r " S, S-\5      r " S. S/\5      r " S0 S1\5      r " S2 S3\5      r " S4 S5\5      r " S6 S7\5      r " S8 S9\5      r  " S: S;\5      r! " S< S=\5      r" " S> S?\5      r# " S@ SA\5      r$ " SB SC\5      r% " SD SE\5      r& " SF SG\5      r' " SH SI\5      r(gJ)Kz5Exceptions that may happen in all the webdriver code.    )Optional)Sequencez.For documentation on this error, please visit:zGhttps://www.selenium.dev/documentation/webdriver/troubleshooting/errorsc            	       l   ^  \ rS rSrSr SS\\   S\\   S\\\      SS4U 4S jjjrS\4S	 jr	S
r
U =r$ )WebDriverException   zBase webdriver exception.Nmsgscreen
stacktracereturnc                 F   > [         TU ]  5         Xl        X l        X0l        g N)super__init__r   r	   r
   )selfr   r	   r
   	__class__s       Z/var/www/highfloat_scraper/venv/lib/python3.13/site-packages/selenium/common/exceptions.pyr   WebDriverException.__init__   s     	$    c                     SU R                    S3nU R                  (       a  US-  nU R                  (       a#  SR                  U R                  5      nUSU 3-  nU$ )Nz	Message: 
z!Screenshot: available via screen
zStacktrace:
)r   r	   r
   join)r   exception_msgr
   s      r   __str__WebDriverException.__str__%   sV    #DHH:R0;;AAM??4??3J}ZL99Mr   )r   r	   r
   NNN__name__
__module____qualname____firstlineno____doc__r   strr   r   r   __static_attributes____classcell__r   s   @r   r   r      s\    # nr%C=%19#%S[\deh\iSj%	% %  r   r   c                       \ rS rSrSrSrg)InvalidSwitchToTargetException/   z@Thrown when frame or window target to be switched doesn't exist. Nr   r   r   r    r!   r#   r)   r   r   r'   r'   /       Jr   r'   c                       \ rS rSrSrSrg)NoSuchFrameException3   z6Thrown when frame target to be switched doesn't exist.r)   Nr*   r)   r   r   r-   r-   3   s    @r   r-   c                       \ rS rSrSrSrg)NoSuchWindowException7   zThrown when window target to be switched doesn't exist.

To find the current set of active window handles, you can get a list
of the active window handles in the following way::

    print driver.window_handles
r)   Nr*   r)   r   r   r0   r0   7       r   r0   c            	       ^   ^  \ rS rSrSr S
S\\   S\\   S\\\      SS4U 4S jjjrS	r	U =r
$ )NoSuchElementExceptionA   a  Thrown when element could not be found.

If you encounter this exception, you may want to check the following:
    * Check your selector used in your find_by...
    * Element may not yet be on the screen at the time of the find operation,
      (webpage is still loading) see selenium.webdriver.support.wait.WebDriverWait()
      for how to write a wait wrapper to wait for an element to appear.
Nr   r	   r
   r   c                 L   > U S[          S[         S3n[        TU ]  XBU5        g )N;  z#no-such-element-exceptionSUPPORT_MSG	ERROR_URLr   r   r   r   r	   r
   with_supportr   s        r   r   NoSuchElementException.__init__K   s-     bQyk9STz:r   r)   r   r   r   r   r    r!   r   r"   r   r   r#   r$   r%   s   @r   r4   r4   A   M     nr;C=;19#;S[\deh\iSj;	; ;r   r4   c                       \ rS rSrSrSrg)NoSuchAttributeExceptionS   a  Thrown when the attribute of element could not be found.

You may want to check if the attribute exists in the particular
browser you are testing against.  Some browsers may have different
property names for the same property.  (IE8's .innerText vs. Firefox
.textContent)
r)   Nr*   r)   r   r   rB   rB   S   r2   r   rB   c                       \ rS rSrSrSrg)NoSuchShadowRootException]   zhThrown when trying to access the shadow root of an element when it does
not have a shadow root attached.r)   Nr*   r)   r   r   rE   rE   ]   s    (r   rE   c            	       ^   ^  \ rS rSrSr S
S\\   S\\   S\\\      SS4U 4S jjjrS	r	U =r
$ )StaleElementReferenceExceptionb   a  Thrown when a reference to an element is now "stale".

Stale means the element no longer appears on the DOM of the page.


Possible causes of StaleElementReferenceException include, but not limited to:
    * You are no longer on the same page, or the page may have refreshed since the element
      was located.
    * The element may have been removed and re-added to the screen, since it was located.
      Such as an element being relocated.
      This can happen typically with a javascript framework when values are updated and the
      node is rebuilt.
    * Element may have been inside an iframe or another context which was refreshed.
Nr   r	   r
   r   c                 L   > U S[          S[         S3n[        TU ]  XBU5        g )Nr7   r8   z"#stale-element-reference-exceptionr9   r<   s        r   r   'StaleElementReferenceException.__init__r   s-     bQyk9[\z:r   r)   r   r?   r%   s   @r   rH   rH   b   sM      nr;C=;19#;S[\deh\iSj;	; ;r   rH   c                       \ rS rSrSrSrg)InvalidElementStateExceptionz   zThrown when a command could not be completed because the element is in
an invalid state.

This can be caused by attempting to clear an element that isn't both
editable and resettable.
r)   Nr*   r)   r   r   rM   rM   z       r   rM   c                      ^  \ rS rSrSr    SS\\   S\\   S\\\      S\\   SS4
U 4S	 jjjrS\4U 4S
 jjr	Sr
U =r$ )UnexpectedAlertPresentException   zThrown when an unexpected alert has appeared.

Usually raised when  an unexpected modal is blocking the webdriver
from executing commands.
Nr   r	   r
   
alert_textr   c                 2   > [         TU ]  XU5        X@l        g r   )r   r   rS   )r   r   r	   r
   rS   r   s        r   r   (UnexpectedAlertPresentException.__init__   s     	j1$r   c                 @   > SU R                    S[        TU ]	  5        3$ )NzAlert Text: r   )rS   r   r   )r   r   s    r   r   'UnexpectedAlertPresentException.__str__   s#    doo.b1B0CDDr   )rS   )NNNNr   r%   s   @r   rQ   rQ      sy     " $.2$(%c]% % Xc]+	%
 SM% 
% %E E Er   rQ   c                       \ rS rSrSrSrg)NoAlertPresentException   zThrown when switching to no presented alert.

This can be caused by calling an operation on the Alert() class when
an alert is not yet on the screen.
r)   Nr*   r)   r   r   rY   rY          r   rY   c                       \ rS rSrSrSrg)ElementNotVisibleException   zThrown when an element is present on the DOM, but it is not visible, and
so is not able to be interacted with.

Most commonly encountered when trying to click or read text of an
element that is hidden from view.
r)   Nr*   r)   r   r   r]   r]      rO   r   r]   c                       \ rS rSrSrSrg)ElementNotInteractableException   z|Thrown when an element is present in the DOM but interactions with that
element will hit another element due to paint order.r)   Nr*   r)   r   r   r`   r`      s    <r   r`   c                       \ rS rSrSrSrg)ElementNotSelectableException   zbThrown when trying to select an unselectable element.

For example, selecting a 'script' element.
r)   Nr*   r)   r   r   rc   rc      s    r   rc   c                       \ rS rSrSrSrg)InvalidCookieDomainException   zUThrown when attempting to add a cookie under a different domain than the
current URL.r)   Nr*   r)   r   r   rf   rf      s    r   rf   c                       \ rS rSrSrSrg)UnableToSetCookieException   z+Thrown when a driver fails to set a cookie.r)   Nr*   r)   r   r   ri   ri      s    5r   ri   c                       \ rS rSrSrSrg)TimeoutException   z7Thrown when a command does not complete in enough time.r)   Nr*   r)   r   r   rl   rl      s    Ar   rl   c                       \ rS rSrSrSrg)MoveTargetOutOfBoundsException   zfThrown when the target provided to the `ActionsChains` move() method is
invalid, i.e. out of document.r)   Nr*   r)   r   r   ro   ro      s    &r   ro   c                       \ rS rSrSrSrg)UnexpectedTagNameException   z@Thrown when a support class did not get an expected web element.r)   Nr*   r)   r   r   rr   rr      r+   r   rr   c            	       ^   ^  \ rS rSrSr S
S\\   S\\   S\\\      SS4U 4S jjjrS	r	U =r
$ )InvalidSelectorException   a0  Thrown when the selector which is used to find an element does not
return a WebElement.

Currently this only happens when the selector is an xpath expression
and it is either syntactically invalid (i.e. it is not a xpath
expression) or the expression does not select WebElements (e.g.
"count(//input)").
Nr   r	   r
   r   c                 L   > U S[          S[         S3n[        TU ]  XBU5        g )Nr7   r8   z#invalid-selector-exceptionr9   r<   s        r   r   !InvalidSelectorException.__init__   s-     bQyk9TUz:r   r)   r   r?   r%   s   @r   ru   ru      r@   r   ru   c                       \ rS rSrSrSrg)ImeNotAvailableException   zThrown when IME support is not available.

This exception is thrown for every IME-related method call if IME
support is not available on the machine.
r)   Nr*   r)   r   r   rz   rz      r[   r   rz   c                       \ rS rSrSrSrg)ImeActivationFailedException   z0Thrown when activating an IME engine has failed.r)   Nr*   r)   r   r   r}   r}      s    :r   r}   c                       \ rS rSrSrSrg)InvalidArgumentException   zBThe arguments passed to a command are either invalid or malformed.r)   Nr*   r)   r   r   r   r          Lr   r   c                       \ rS rSrSrSrg)JavascriptException   zBAn error occurred while executing JavaScript supplied by the user.r)   Nr*   r)   r   r   r   r      r   r   r   c                       \ rS rSrSrSrg)NoSuchCookieException   zNo cookie matching the given path name was found amongst the associated
cookies of the current browsing context's active document.r)   Nr*   r)   r   r   r   r      s    Br   r   c                       \ rS rSrSrSrg)ScreenshotException   z%A screen capture was made impossible.r)   Nr*   r)   r   r   r   r      s    /r   r   c                       \ rS rSrSrSrg) ElementClickInterceptedException   zThe Element Click command could not be completed because the element
receiving the events is obscuring the element that was requested to be
clicked.r)   Nr*   r)   r   r   r   r      s    r   r   c                       \ rS rSrSrSrg)InsecureCertificateException   zNavigation caused the user agent to hit a certificate warning, which is
usually the result of an expired or invalid TLS certificate.r)   Nr*   r)   r   r   r   r      s    Dr   r   c                       \ rS rSrSrSrg)InvalidCoordinatesExceptioni  zCThe coordinates provided to an interaction's operation are invalid.r)   Nr*   r)   r   r   r   r     s    Mr   r   c                       \ rS rSrSrSrg)InvalidSessionIdExceptioni	  zOccurs if the given session id is not in the list of active sessions,
meaning the session either does not exist or that it's not active.r)   Nr*   r)   r   r   r   r   	  s    Jr   r   c                       \ rS rSrSrSrg)SessionNotCreatedExceptioni  z#A new session could not be created.r)   Nr*   r)   r   r   r   r     s    -r   r   c                       \ rS rSrSrSrg)UnknownMethodExceptioni  zUThe requested command matched a known URL but did not match any methods
for that URL.r)   Nr*   r)   r   r   r   r     s    r   r   c            	       ^   ^  \ rS rSrSr S
S\\   S\\   S\\\      SS4U 4S jjjrS	r	U =r
$ )NoSuchDriverExceptioni  z:Raised when driver is not specified and cannot be located.Nr   r	   r
   r   c                 L   > U S[          S[         S3n[        TU ]  XBU5        g )Nr7   r8   z/driver_locationr9   r<   s        r   r   NoSuchDriverException.__init__  s-     bQyk9IJz:r   r)   r   r?   r%   s   @r   r   r     sK    D nr;C=;19#;S[\deh\iSj;	; ;r   r   c                       \ rS rSrSrSrg)DetachedShadowRootExceptioni"  zDRaised when referenced shadow root is no longer attached to the DOM.r)   Nr*   r)   r   r   r   r   "  s    Nr   r   N))r!   typingr   r   r:   r;   	Exceptionr   r'   r-   r0   r4   rB   rE   rH   rM   rQ   rY   r]   r`   rc   rf   ri   rl   ro   rr   ru   rz   r}   r   r   r   r   r   r   r   r   r   r   r   r   r)   r   r   <module>r      s  " <  >U	 *K%7 KA9 A: ;/ ;$1 ( 2 (
;%7 ;0#5 E&8 E*0 != <&B <
$@ #5 
6!3 6B) B&%7 &
K!3 K;1 ;$1 ;#5 ;M1 MM, MB. B
0, 0'9 D#5 D
N"4 NJ 2 J
.!3 ./ 
;. ;O"4 Or   