The visit took place as the Israeli prime minister battles domestic turmoil ahead of October's Knesset elections.