session_get_title
Return the title of what a WebDriver session is currently showing — the document title for a browser session, the foreground activity name for a mobile session. Cheap, and the usual way to confirm a navigation landed where you expected before reading the whole page with session_page_source. Addressed by sessionId; on a real device the same question is device_current_app or ios_active_app (by udid).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID |