class Selenium::DevTools::V85::ApplicationCache
def enable
def enable @devtools.send_cmd('ApplicationCache.enable') end
def get_application_cache_for_frame(frame_id:)
def get_application_cache_for_frame(frame_id:) @devtools.send_cmd('ApplicationCache.getApplicationCacheForFrame', frameId: frame_id) end
def get_frames_with_manifests
def get_frames_with_manifests @devtools.send_cmd('ApplicationCache.getFramesWithManifests') end
def get_manifest_for_frame(frame_id:)
def get_manifest_for_frame(frame_id:) @devtools.send_cmd('ApplicationCache.getManifestForFrame', frameId: frame_id) end
def initialize(devtools)
def initialize(devtools) @devtools = devtools end
def on(event, &block)
def on(event, &block) event = EVENTS[event] if event.is_a?(Symbol) @devtools.callbacks["ApplicationCache.#{event}"] << block end