Add Option to Reload Page via Browser

Hi,
The browser component has been updated a few times to include many options such as scroll, copy, paste etc.
One more option that could be added is an alias for JS location.reload().
Something like browser1.locations.reload() or just browser1.reload would be a great event to have.

Yes, I came across this a few days ago, and ended up telling the user to click refresh… though I guess in the meantime I could call some js to do it from a flow…

Isn’t browser go to -> browser.location.href working for you? Example:

browser1.goto(browser1.location.href)
2 Likes

Haven’t tried that. Seems like it should.
Will give it a try.

That worked! :slightly_smiling_face:

1 Like

Small FYI. There is a specific scenario where this workaround won’t work. If the URL has a # anchor it won’t reload the page.

2 Likes

This has been integrated in the browser component in Wappler 5.5.2

2 Likes