
    >fh                     0    d dl mZ d dlmZ  G d d      Zy)    )InvalidSelectorException)Byc                       e Zd Zd Zy)LocatorConverterc                 X   |t         j                  k(  rt         j                  d| dfS |t         j                  k(  rB|r+t	        d |j                         D              rt        d      t         j                  d| fS |t         j                  k(  rt         j                  d| dfS ||fS )Nz[id="z"]c              3   <   K   | ]  }|j                           y w)N)isspace).0chars     ^/var/www/zara/venv/lib/python3.12/site-packages/selenium/webdriver/remote/locator_converter.py	<genexpr>z+LocatorConverter.convert.<locals>.<genexpr>   s     FT\\^Fs   z%Compound class names are not allowed..z[name=")r   IDCSS_SELECTOR
CLASS_NAMEanystripr   NAME)selfbyvalues      r   convertzLocatorConverter.convert   s    ;??eE7"$5552== FFF./VWW??awK//277]??geWB$7775y    N)__name__
__module____qualname__r    r   r   r   r      s    
r   r   N)selenium.common.exceptionsr   selenium.webdriver.common.byr   r   r   r   r   <module>r       s   $ @ + r   