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.