forked from enviPath/enviPy
Current Dev State
This commit is contained in:
20
static/js/ketcher2/node_modules/webdriverio/lib/protocol/applicationCacheStatus.js
generated
vendored
Normal file
20
static/js/ketcher2/node_modules/webdriverio/lib/protocol/applicationCacheStatus.js
generated
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
/**
|
||||
*
|
||||
* 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')
|
||||
}
|
||||
Reference in New Issue
Block a user