class

Detector::Specification::Har

Inherits Detector < Reference < Object

Constants

ENTRIES_MARKER = /"entries"/
LOG_MARKER = /"log"/

Every .json in the tree reaches these guards. Both must match, so they stay separate probes rather than a union.

Class methods

tech_name

The tech name without needing an instance, so the registry can be read off the classes themselves rather than from a parallel list.

Source

Instance methods

applicable?(filename : String) : Bool

Registers HAR file paths in CodeLocator.

Source
detect(filename : String, file_contents : String) : Bool
Source
idempotent?

Registers HAR file paths in CodeLocator.

Source
set_name

Registers HAR file paths in CodeLocator.

Source