IContextActionsListener
Implementationâ
In order inject your customized logging for your reports or you want to perform any other action when handling Mobile contexts, you can implement this class and provide your implementations for different methods available in this listener interface.
onContextsâ
This method will get executed after getting all the available contexts.
onCurrentContextâ
This method will get executed after getting the current context.
onSwitchToNativeâ
This method will get executed after switching to native context.
onSwitchToWebView (name)â
This method will get executed after switching to web view context by its provided name.
onSwitchToWebViewâ
This method will get executed after switching to the default web view context.