WebBrowser.dismissBrowser() explanation

Hi,
Could someone explain me the purpose of WebBrowser.dismissBrowser() ? When opening Browser in modal I’m losing control over application until user will click “close” button and then of course I will get event { type: ‘cancel’ }. I’m trying to find any way to close this modal from JavaScript but without success.

The real world example is that I’m opening Browser with payment button, after payment success I would like to close WebBrowser instead of asking user to manual click “close” button.

It is possible?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.