Search links and images through css or xpath