Agalya: changed wait to find elements