ObjC.setTimeout
Set the total remote-call wait.
js
ObjC.setTimeout(milliseconds)Arguments
| Argument | Type | Meaning |
|---|---|---|
milliseconds | number | 1..60000; default 5000. |
Returns
This client.
Example
js
const app = RemoteObjC.forApp("com.apple.Preferences");
app.setTimeout(3000);Notes
Start with Objective-C step by step. Also available on app = RemoteObjC.forApp(bundleId) as app.setTimeout(). A timeout does not undo an action already running. Do not replay uncertain mutations.