public String executeCommandOnServlet ( String command ) { try { return getCommandResponseAsString ( command ) ; } catch ( IOException e ) { if ( e instanceof ConnectException ) { throw new SeleniumException ( e . getMessage ( ) , e ) ; } e . printStackTrace ( ) ; throw new UnsupportedOperationException ( "Catch body broken: IOException from " + command + " -> " + e , e ) ; } }
Sends the specified command string to the bridge servlet