added custom expected condition for invisibility of element