private void doHighlight ( String colorMode ) throws WidgetException { if ( ! ( getGUIDriver ( ) instanceof HighlightProvider ) ) { return ; } HighlightProvider highDriver = ( HighlightProvider ) getGUIDriver ( ) ; if ( highDriver . isHighlight ( ) ) { setBackgroundColor ( highDriver . getHighlightColor ( colorMode ) ) ; } }
Highlight a web element by getting its color from the map loaded from client properties file