{"record":{"id":"c8bc4343e33e8c24","repo":"tinyhumansai/openhuman","slug":"missing-text-for-type","errorCode":null,"errorMessage":"Missing 'text' for type","messagePattern":"Missing 'text' for type","errorType":"validation","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"src/openhuman/tools/impl/browser/action_parser.rs","lineNumber":62,"sourceCode":"                .ok_or_else(|| anyhow::anyhow!(\"Missing 'selector' for fill\"))?;\n            let value = args\n                .get(\"value\")\n                .and_then(|v| v.as_str())\n                .ok_or_else(|| anyhow::anyhow!(\"Missing 'value' for fill\"))?;\n            Ok(BrowserAction::Fill {\n                selector: selector.into(),\n                value: value.into(),\n            })\n        }\n        \"type\" => {\n            let selector = args\n                .get(\"selector\")\n                .and_then(|v| v.as_str())\n                .ok_or_else(|| anyhow::anyhow!(\"Missing 'selector' for type\"))?;\n            let text = args\n                .get(\"text\")\n                .and_then(|v| v.as_str())\n                .ok_or_else(|| anyhow::anyhow!(\"Missing 'text' for type\"))?;\n            Ok(BrowserAction::Type {\n                selector: selector.into(),\n                text: text.into(),\n            })\n        }\n        \"get_text\" => {\n            let selector = args\n                .get(\"selector\")\n                .and_then(|v| v.as_str())\n                .ok_or_else(|| anyhow::anyhow!(\"Missing 'selector' for get_text\"))?;\n            Ok(BrowserAction::GetText {\n                selector: selector.into(),\n            })\n        }\n        \"get_title\" => Ok(BrowserAction::GetTitle),\n        \"get_url\" => Ok(BrowserAction::GetUrl),\n        \"wait\" => Ok(BrowserAction::Wait {\n            selector: args","sourceCodeStart":44,"sourceCodeEnd":80,"githubUrl":"https://github.com/tinyhumansai/openhuman/blob/749120085864ce16e0f273c7b86fac7740b39c5b/src/openhuman/tools/impl/browser/action_parser.rs#L44-L80","documentation":"Action-argument validation in parse_browser_action: the `type` action was requested and its `selector` parsed, but the required `text` argument is absent or not a string. Fires before any browser automation runs.","triggerScenarios":"Thrown at src/openhuman/tools/impl/browser/action_parser.rs:62 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Include `text` as the string to type into the element","Resubmit the type action with selector and text"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"749120085864ce16e0f273c7b86fac7740b39c5b","analyzedAt":"2026-08-17T21:21:45.363Z","contentChangedAt":null,"schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}