forked from enviPath/enviPy
21 lines
731 B
JavaScript
21 lines
731 B
JavaScript
/**
|
|
*
|
|
* Get the status of the html5 application cache.
|
|
*
|
|
* This command is depcrecated and will be removed soon. Make sure you don't use it in your
|
|
* automation/test scripts anymore to avoid errors.
|
|
*
|
|
* @return {Number} Status code for application cache: **{UNCACHED = 0, IDLE = 1, CHECKING = 2, DOWNLOADING = 3, UPDATE_READY = 4, OBSOLETE = 5}**
|
|
*
|
|
* @see https://github.com/SeleniumHQ/selenium/wiki/JsonWireProtocol#sessionsessionidapplication_cachestatus
|
|
* @type protocol
|
|
*
|
|
*/
|
|
|
|
import depcrecate from '../helpers/depcrecationWarning'
|
|
|
|
export default function applicationCacheStatus () {
|
|
depcrecate('applicationCacheStatus')
|
|
return this.requestHandler.create('/session/:sessionId/application_cache/status')
|
|
}
|