Overview
Write Android automation in JavaScript. Rhino executes on the device and bridges to Android APIs. Prefer ES5-stable patterns; selected ES6 features may work depending on the engine build.
zhflow scripts run on the Rhino JavaScript engine (same family as Auto.js / AutoJs Pro / AutoJs6). This English page is a concise overview; the full Chinese guide remains at /docs/rhino/.
Write Android automation in JavaScript. Rhino executes on the device and bridges to Android APIs. Prefer ES5-stable patterns; selected ES6 features may work depending on the engine build.
window, or document// Illustrative only
launchApp("Target App");
text("Me").findOne(3000).click();
text("Check in").findOne(3000).click();
toast("Done");
For deeper ES5/ES6 notes, Java interop, and pitfalls, use the full Chinese Rhino guide or pair with AI-generated scripts.