code: protected WebElement getSocialIcon(String social) {
  		logger.debug("getSocialIcon " + social);
  		By linkLocator = By.cssSelector("a." + social);
  
  		WebElement foundSocialIcon = null;
  		for (WebElement socialIcon : socialIcons) {
  			try {
  				socialIcon.findElement(linkLocator);
  				foundSocialIcon = socialIcon;
  			} catch(NoSuchElementException e) {
  				continue;
  			}
  		}
  		assertNotNull("social button for " + social + " not found.", foundSocialIcon);
  		return foundSocialIcon;
  	}
docs: /*
  public SamplePage assertSocialButtons(SocialButtonsAssert socialButtonsAssert) {