Refresh web page on iOS simulator with Appium

I am attempting to refresh web page that is currently running on mobile Safari browser. Its using iOS simulator version 12.0.1, Appium 1.18.1 and macOS 10.15.7.

Appium documentation indicates driver.refresh() should work. But in my case it isn’t working. My test is using IOSDriver and is getting following exception when above method is executed.

    groovy.lang.MissingMethodException: No signature of method: io.appium.java_client.ios.IOSDriver.refresh() is applicable for argument types: () values: []
Possible solutions: every(), perform(java.util.Collection), every(groovy.lang.Closure), stream(), grep()

Pls suggest if there is any alternative way to refresh the page?