Java 类org.openqa.selenium.html5.AppCacheStatus 实例源码

项目:Java-Testing-Toolbox    文件:JSApplicationCache.java   
@Override
public AppCacheStatus getStatus() {
    return AppCacheStatus.getEnum((int) (long) ((JavascriptExecutor) this.getWrappedDriver()).executeScript("return applicationCache.status"));
}
项目:grid-refactor-remote-server    文件:GetAppCacheStatus.java   
@Override
public AppCacheStatus call() throws Exception {
  return Utils.getApplicationCache(getUnwrappedDriver()).getStatus();
}