
    hgg                     :    d Z ddlZddlmZ  G d de          ZdS )z&
The ApplicationCache implementation.
    N)Commandc                   B    e Zd ZdZdZdZdZdZdZd Z	e
d             Zd	S )
ApplicationCacher                  c                 L    t          j        dt          d           || _        dS )z
        Creates a new Application Cache.

        :Args:
         - driver: The WebDriver instance which performs user actions.
        zkApplication Cache is being removed from all major browsers. This feature will be removed in future versionsr   )
stacklevelN)warningswarnDeprecationWarningdriver)selfr   s     j/var/www/fb-scrape/myenv/lib/python3.11/site-packages/selenium/webdriver/common/html5/application_cache.py__init__zApplicationCache.__init__%   s3     	  D(Q	8 	8 	8 	8    c                 V    | j                             t          j                  d         S )z@
        Returns a current status of application cache.
        value)r   executer   GET_APP_CACHE_STATUS)r   s    r   statuszApplicationCache.status0   s"    
 {""7#?@@IIr   N)__name__
__module____qualname__UNCACHEDIDLECHECKINGDOWNLOADINGUPDATE_READYOBSOLETEr   propertyr    r   r   r   r      sa        HDHKLH	 	 	 J J XJ J Jr   r   )__doc__r   !selenium.webdriver.remote.commandr   objectr   r$   r   r   <module>r(      sj   $ 
  5 5 5 5 5 5J J J J Jv J J J J Jr   