I need to perform an action when an element appears and not perform an action when it doesn’t.
Which function to use? As it is an element of a site could not perform by if.
If possible, guide me.
The image below shows the number used as a reference, when it is “=0” it does not need to perform actions, if it was different from 0 it would perform.
However we received an update in the system and this entire field does not appear when no item is on the list.
That is, when the counter below appears, I perform the action when it does not appear, it does not perform any activity.