Wait until page loads - safari browser

Hi
I am automating a web application in safari browser on Ipad. I have an issue where my script is not waiting until the page is loaded, I tried to use fluent wait but still its not holding on until the page is loaded.
It is failing when on clicking a button, at an instance the page is becoming blank to load next page. Here my script is breaking as it coming out of hold.

@Boney any update on this