close_session
Close a browser or mobile session, or detach without terminating to preserve app state on Appium server.
Instructions
Closes the current session or detaches without terminating. Detach preserves app state on the Appium server — sessions with noReset: true auto-detach by default. Closing a browser attach session terminates chromedriver but the Chrome process spawned by launch_chrome remains running.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detach | No | If true, disconnect without terminating (preserves app state). Default: false |