Skip to main content

relabel

Function relabel 

Source
pub(super) fn relabel(family: &str, acts: &[Act], text: &str) -> String
Expand description

text with the internal tool name it starts with replaced by the public one (“BrowserClick e12: done” → “Browser click e12: done”): a handler names the tool it ran as at the start of its output and errors, and that name isn’t advertised. Only that label changes: what follows is the page, a script’s value or a window’s title, and is returned exactly.