Eval
This tool on every surface: CLI · MCP · Python · JavaScript · Go · Java · .NET
Run a JavaScript expression in the current WebView and return its value as a string. These call app_eval.
Eval
public string Eval(string expression)
Runs a JavaScript expression in the current WebView; objects come back as JSON.
Examples
Read the page title in a WebView
string title = device.Eval("document.title");
On a device

mobium eval document.title on an Android 15 emulator