Make ui tests recognize visibility: hidden; elements as hidden.