Unable to use xpath to find element in iframe

I am using ‘web element’ recorder action to find get a value of element inside an iframe.
RPA express is not able to identify the element.
Is there a way to achieve this?

When I run the below javascript from chrome Inspect Element -> Console, i am able to get the value of that element but not from Web Element action.
document.evaluate( ‘/html/body/div/form/div[2]/div[2]/div’ ,document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null ).singleNodeValue.innerText;

Hi @sureshs can you share the URL from which you need to get the element value, and the screenshot of the Web element action?
Do you provide the XPath of the iFrame in the action details?

@sureshs do you still have this issue? If you do, please provide the details above.

@ashapkina - I am able to resolve the issue. Thanks for the followup.

1 Like