ControlUI.waitForFooterLogo refactored into a generic WaitForHTMLElement taking the new HTMLElement enum as a parameter.