There is this list <li> element which is a radio button on each page of the site.
There are two versions: one is when it’s enabled and can be selected, and the other is when it’s disabled.
The HTML code is identical in both cases, absolutely no difference.
But in the developer console, I see that in case of the disabled one, there is an extra attribute, which is disabled=“disabled”.
This attribute doesn’t show up in UiExplorer and there aren’t any other attributes related to visibility either.
What I want is to check if the radio button is enabled or disabled, so that I move forward only in case it’s enabled.
A property available for Javascript, but nullable and can be null, when not inital set.
One of a few options is to use Inject Js Script Activity and implement a Property Retrieval
we shared the link to the marketplace offering already above.
Kindly note: some CSS Properties are on inherit and set to parent elements. So also have more detail check if an element more up the tree path is maybe triggering the display / visibility by style or class infos
Thank you, I’ve been trying to install the package but it UiPath has a problem with the path.
When I add the package in ‘Manage Packages’, it sets correctly, no error.
But when I click on the package it shows the following error message:
“The path for the selected source could not be resolved”
I tried many locations and it’s the same.
I attach a screenshot.
Is this another bug in UiPath…?
Yes, I confirm all thre points.
I tried with copying the file in …\UiPath\Packages and this location (folder only) is present - in ‘Default package sources’
You are right, it shows uder Local.
Now in the project, it shows in the Project tab too,
however in the Activities tab when I search ‘css’ nothing shows.
How can I use the activity inside the RPA flow?
If you are already in a Windows-Legacy project, then you should be able to Install the Package directly using the Manage Packages option. You wouldn’t require to do the steps to access the package using the Local method.
Hi, I think I could install the package. Accessing Local was just for the purpose of checking that it shows there, meaning it installed properly.
It shows in ‘All packages’ too, so I guess it installed OK.
My last question was about how to use this package, since in Activities when I search with ‘css’ it doesn’t show up so I can’t drag any activity in the RPA flow.
Hi Pete, thanks for the guidance.
Unfortunately I don’t see andy of those fields - ‘CSSPropertyKey’ / ‘CSSPropertyValue’ under Input/Output in the Properties panel of Find Element activity.