async fn read_for_capture(
state: &AppState,
req: &CaptureRequest,
block_id: &str,
agent: &str,
ref_: &str,
shape: Option<&CaptureShape>,
) -> Result<(Taken, Option<Waiting>), Response>Expand description
Reads the element and checks what came back, or the answer for the agent when it can’t be saved.