pub enum Evidence {
Show 27 variants
ExecutionPath {
path: ExecutionPath,
reason: ExecutionReason,
state_version: u64,
elapsed_ms: u64,
bytes: Option<u64>,
sha256: Option<String>,
final_url: Option<String>,
content_type: Option<String>,
status: Option<u16>,
redirect_chain: Vec<String>,
},
Navigation {
url: String,
title: String,
},
Inspection {
selector: Option<String>,
url: String,
title: String,
text: String,
html: Option<String>,
},
Element {
selector: String,
text: Option<String>,
},
Upload {
selector: String,
paths: Vec<String>,
},
Page {
page_id: PageId,
url: String,
title: String,
},
Pages {
pages: Vec<PageEvidence>,
},
Popup {
opener_page_id: PageId,
page_id: PageId,
url: String,
title: String,
},
Download {
filename: String,
path: String,
bytes: u64,
sha256: String,
},
Configuration {
name: String,
value: String,
},
Resolution {
target: Box<TargetSpec>,
fingerprint: Box<TargetFingerprint>,
candidates: Vec<CandidateEvidence>,
best_match_authorized: bool,
},
Wait {
condition: WaitCondition,
elapsed_ms: u64,
observations: u64,
excluded_classes: Vec<String>,
observed: Option<String>,
},
Screenshot {
artifact_id: String,
media_type: String,
width: u32,
height: u32,
bytes: u64,
sha256: String,
},
BrowserExecution {
engine: String,
browser_version: String,
profile_id: String,
interaction_path: String,
},
JavaScriptResult {
value: Value,
truncated: bool,
},
AccessibilitySnapshot {
page_id: PageId,
nodes: Vec<AccessibilityNode>,
truncated: bool,
},
FormSnapshot {
snapshot: FormSnapshot,
},
ControlAction {
action: ControlActionEvidence,
},
StructuredExtraction {
page_id: PageId,
value: Value,
truncated: bool,
},
CookieState {
page_id: Option<PageId>,
cookies: Vec<CookieRecord>,
},
PdfArtifact {
artifact_id: String,
media_type: String,
bytes: u64,
sha256: String,
},
Dialog {
dialog_type: String,
message: String,
action: String,
},
Emulation {
viewport: Option<ViewportSize>,
geolocation: Option<GeolocationCoordinates>,
},
HarArtifact {
artifact_id: String,
media_type: String,
bytes: u64,
sha256: String,
entries: u32,
},
IntentExecution {
record: ExecutionRecord,
},
Humanization {
engine: String,
actions: u32,
synthesized_ms: u64,
},
Extraction {
field: String,
value: Option<String>,
resolution_path: IntentResolutionPath,
error_code: Option<ErrorCode>,
},
}Variants§
ExecutionPath
Inspection
Element
Upload
Page
Pages
Fields
pages: Vec<PageEvidence>Popup
Download
Configuration
Resolution
Fields
target: Box<TargetSpec>fingerprint: Box<TargetFingerprint>candidates: Vec<CandidateEvidence>Wait
Fields
condition: WaitConditionobserved: Option<String>What the satisfying poll actually read: the element text or value, the URL, or the document ready state, depending on the condition.
The wait already reads this to decide whether it is satisfied. It
used to be discarded, so an agent that verified a submit had to
spend a second round trip snapshotting the page to learn what it
had just confirmed. Bounded by MAX_WAIT_OBSERVED_CHARS – this
is a verification value, never a page-text dump.
Screenshot
BrowserExecution
JavaScriptResult
AccessibilitySnapshot
FormSnapshot
Fields
snapshot: FormSnapshotControlAction
Fields
action: ControlActionEvidenceStructuredExtraction
CookieState
PdfArtifact
Dialog
Emulation
HarArtifact
IntentExecution
Fields
record: ExecutionRecordHumanization
Input timing the runtime synthesized rather than observed, emitted when
the session opted into executionPolicy.humanize. Lets intent-engine
verify an effect against the timing actually issued. Carries no typed
text: action counts and durations only.
Extraction
Result of resolving one named field of an ExtractIntent, emitted once
per field in field order. value: None means unresolved, with the
reason in errorCode; the rest of the extraction still runs.