o
    ҷhY                     @   s*   d Z ddlZddlmZ G dd dZdS )z$The ApplicationCache implementation.    N)Commandc                   @   s8   e Zd ZdZdZdZdZdZdZdd Z	e
d	d
 ZdS )ApplicationCacher                  c                 C   s   t jdtdd || _dS )zCreates 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    r   d/var/www/html/venv/lib/python3.10/site-packages/selenium/webdriver/common/html5/application_cache.py__init__!   s   
zApplicationCache.__init__c                 C   s   | j tjd S )z.Returns a current status of application cache.value)r   executer   GET_APP_CACHE_STATUS)r   r   r   r   status.   s   zApplicationCache.statusN)__name__
__module____qualname__UNCACHEDIDLECHECKINGDOWNLOADINGUPDATE_READYOBSOLETEr   propertyr   r   r   r   r   r      s    r   )__doc__r
   !selenium.webdriver.remote.commandr   r   r   r   r   r   <module>   s   