Skip to main content

IFrameActionsListener

Implementation​

In order inject your customized logging for your reports or you want to perform any other action when handling Web iFrames related actions, you can implement this class and provide your implementations for different methods available in this listener interface.

onSwitchTo (frameNameOrId)​

This method will get executed after executing switching to the iFrame by its name or ID.

onSwitchTo (index)​

This method will get executed after executing switching to the iFrame by index.

onSwitchToParent​

This method will get executed after executing switching to the parent iFrame.