zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
U
\±d ã@szddlZddlmZddlmZddlmZddlmZddlm    Z    Gdd„ded    Z
Gd
d „d e
ƒZ Gd d „d e
ƒZ dS)éN)ÚABCMeta)Úabstractmethod)ÚOptional)ÚAnyKey)Úkeys_to_typingc@s(eZdZdZeeeedœdd„ƒZdS)Ú FileDetectorzSUsed for identifying whether a sequence of chars represents the path to
    a file.©ÚkeysÚreturncGst‚dS©N)ÚNotImplementedError©Úselfr    ©rú^d:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\selenium/webdriver/remote/file_detector.pyÚ is_local_fileszFileDetector.is_local_fileN)    Ú__name__Ú
__module__Ú __qualname__Ú__doc__rrrÚstrrrrrrrsr)Ú    metaclassc@s$eZdZdZeeedœdd„ZdS)ÚUselessFileDetectorz*A file detector that never finds anything.rcGsdSr rr rrrr'sz!UselessFileDetector.is_local_fileN©rrrrrrrrrrrrr$src@s$eZdZdZeeedœdd„ZdS)ÚLocalFileDetectorz Detects files on the local disk.rcGsFd t|ƒ¡}|sdSztj |¡r*|WSWntk
r@YnXdS)NÚ)ÚjoinrÚosÚpathÚisfileÚ    Exception)rr    Ú    file_pathrrrr.s 
zLocalFileDetector.is_local_fileNrrrrrr+sr) rÚabcrrÚtypingrZselenium.typesrZselenium.webdriver.common.utilsrrrrrrrrÚ<module>s