Swimmers in Rockingham were lucky enough to have had a rare encounter with a whale shark this afternoon.