public static String buildSelectorFromElementsAndAttributeValue(String elementName,String attributeName,String attributeValue){
  StringBuilder strb=new StringBuilder();
  strb.append(elementName);
  strb.append(OPEN_BRACKET);
  strb.append(attributeName);
  strb.append(EQUAL);
  strb.append(attributeValue);
  strb.append(CLOSE_BRACKET);
  return strb.toString();
}

public static String buildSelectorFromElementsAndAttributeValue ( String elementName , String attributeName , String attributeValue ) { StringBuilder strb = new StringBuilder ( ) ; strb . append ( elementName ) ; strb . append ( OPEN_BRACKET ) ; strb . append ( attributeName ) ; strb . append ( EQUAL ) ; strb . append ( attributeValue ) ; strb . append ( CLOSE_BRACKET ) ; return strb . toString ( ) ; }
create a selector of the form $ elementname [ $ attributename = $ attributevalue ]
