Extract HTML for product specification fail: could not find the UI element corresponding to selector

Hi all,

I am trying to get the HTML content of the product specification of a product from the e-commerce platform by using UiPath.Core.Activities.GetAttribute activity. However, the product specification is hidden behind the view more button. Therefore, the validation always fail.

Can I know what is the best way extract HTML content of the product specification of a product which is hidden under view more in UiPath?

Example of a product link:

The selector that I used in get attributes activity:

Properties of GetAttribute UiPath activity:
image

Error message:
image

Thank you.

HI @peter.tun

Here the outer html attribute is not present so the bot could not recognise the atrribute you are trying to extract.
image

So if you want to add the attributes then please use the open in UI Explorer option and add the attributes as per your requirement.

Regards

Dear @vrdabberu ,

Thank you for your reply.
I have tried to use css selector. However, the validation is still failed. Are there any other method to extract HTML content?

Thanks.

HI @peter.tun

Please inspect the page and check whether the attributes you are checking for is exists or not?

Regards

Hi @peter.tun ,

Try clicking on View more button and then use Get Attribute.