* @param toName target category name, must not exist
*/
public void renameCategory(String fromName, String toName)
{
// show the rename form
By renamePath =
By.xpath("//a[@class='tool rename' and contains(@href, '" + getUtil().escapeURL(fromName) + "')]/img");
hoverCategoryItem(fromName);
waitUntilElementIsVisible(renamePath);
getDriver().findElement(renamePath).click();
waitUntilElementIsVisible(By.className("category-rename-form"));