throw new StaleElementReferenceException(
String.format("You may not %s this element. It looks as if the reference is stale. " +
"Did you navigate away from the page with this element on?", message));
case 11:
throw new ElementNotVisibleException(
String.format("You may not %s an element that is not displayed", message));
case 12:
throw new UnsupportedOperationException(
String.format("You may not %s an element that is not enabled", message));