Interface OpenPopupCallback

All Superinterfaces:
BrowserCallback, BrowserSyncCallback<OpenPopupCallback.Params,OpenPopupCallback.Response>, Callback, SyncCallback<OpenPopupCallback.Params,OpenPopupCallback.Response>
All Known Implementing Classes:
DefaultOpenPopupCallback, DefaultOpenPopupCallback, DefaultOpenPopupCallback

public interface OpenPopupCallback extends BrowserSyncCallback<OpenPopupCallback.Params,OpenPopupCallback.Response>
This callback is invoked when a new popup browser instance should be opened.

It is a good place where you can register all the required callbacks and event observers to the newly created popup.

Use the OpenPopupCallback.Response.proceed() method to notify the engine that callback has been completed and the engine can go on with loading content in the opened popup.

Important: the engine will be blocked until you return control from the callback.