a
    xdZ                     @   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   i/var/www/html/Ranjet/env/lib/python3.9/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   ZGET_APP_CACHE_STATUS)r   r   r   r   status/   s    zApplicationCache.statusN)__name__
__module____qualname__ZUNCACHEDZIDLEZCHECKINGZDOWNLOADINGZUPDATE_READYZOBSOLETEr   propertyr   r   r   r   r   r      s   r   )__doc__r
   Z!selenium.webdriver.remote.commandr   r   r   r   r   r   <module>   s   