GopeedLab/gopeed · error · Error
element is not typable: ${selector}
Error message
element is not typable: ${selector} What it means
Error "element is not typable: ${selector}" thrown in GopeedLab/gopeed.
Source
Thrown at pkg/download/engine/webview/runtime.go:269
const insertIntoEditable = (chunk) => {
if (element.isContentEditable) {
element.textContent = (element.textContent || "") + chunk;
emitInput();
return;
}
insertIntoInput(chunk);
};
const insertChunk = (chunk) => {
const tagName = (element.tagName || "").toUpperCase();
if (tagName === "INPUT" || tagName === "TEXTAREA" || typeof element.value === "string") {
insertIntoInput(chunk);
return;
}
if (element.isContentEditable) {
insertIntoEditable(chunk);
return;
}
throw new Error("element is not typable: " + selector);
};
const chars = Array.from(String(text));
if (delayMS > 0) {
return new Promise((resolve) => {
let index = 0;
const step = () => {
if (index >= chars.length) {
resolve(true);
return;
}
insertChunk(chars[index]);
index += 1;
setTimeout(step, delayMS);
};
step();
});
}
for (const char of chars) {View on GitHub (pinned to 7b7327ffb3)
When it happens
Trigger: Thrown at pkg/download/engine/webview/runtime.go:269 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of GopeedLab/gopeed@7b7327ffb3 (2026-08-16).
Data as JSON: /api/errors/8be038ed096d2975.
Report an issue: GitHub.