public AemSidekick clickModeIcon(ModeIcon iconName){
  final String xpath=String.format(ICON_BOTTOM_XPATH,iconName.getIconName());
  final WebElement iconBottom=driver.findElement(By.xpath(xpath));
  iconBottom.click();
  return this;
}

public AemSidekick clickModeIcon ( ModeIcon iconName ) { final String xpath = String . format ( ICON_BOTTOM_XPATH , iconName . getIconName ( ) ) ; final WebElement iconBottom = driver . findElement ( By . xpath ( xpath ) ) ; iconBottom . click ( ) ; return this ; }
finds the button associated with the selected view mode and clicks it .
