getScreenAsString

abstract fun getScreenAsString(): String

Returns the visible screen as a newline-joined string, top to bottom.

Return

The text content of the entire visible screen.