I am trying to detect color change on a web page area. Default color is green i would like to know if its changes to any other state.
You can use Get Attribute activity to get the colour attribute of the UI element.
Use Get Attribute to get color attribut value or you can use ‘Check App State’ too
Hi @cphome12
You can handle this easily in UiPath by checking the color value.
Use Get Pixel Color (or Get Image Color in Modern experience) on the specific area of the web page where the green color appears. Store the returned color and compare it with the known green color value. If it’s not equal, then the state has changed.
If the color change also comes with a UI change, another option is Check App State / Element Exists with an image or attribute for the green state and handle the “not found” case as the changed state.