The visit "does not indicate any shift whatsoever with respect to Hamas," said Kerry, who heads the Senate's powerful foreign relations committee.