testConnection

abstract suspend fun testConnection(): Boolean

Tests the connection to the browser by sending a request to the "version" endpoint.

This method checks if the browser is running and responds to requests. If the connection is successful, it updates the info property with the version information.

Return

True if the connection was successful, false otherwise.