LPS-48229 Move the check for element existence in Util.inBroserView function.