Minor refactoring in RobotiumWebClient