Web automation actions cannot interact with a web element that is inside a cross-domain iframe. The element may be captured successfully during authoring, however, during runtime we get an error message like “Click link on web page failed”.
To verify that the web element is indeed inside a cross-domain iframe, follow the steps below:
Open the web browser and locate the element
Press F12 so that the DOM Explorer window of the browser will open
Select the element through the DOM Explorer
Within the DOM Explorer window, locate its parent iframe element
Check the domain that hosts the iframe element
The domain should be different than that of the webpage.
Open the source webpage of the iframe element on a new tab or a new browser window and continue the automation on the new webpage.
This procedure can be automated by capturing the embedded webpage’s URL using the “Get details of element on web page” action. The attribute’s value to be captured is the “src” attribute of the iframe element.
Then use the "Launch new browser" or "Create new tab" action to open the new webpage.
Note that there are cases where this workaround might not apply, if for example the actions to be performed within the iframe window affect other fields of the parent webpage.