Compare value of ELEMENTs

Hello, I’m new to UI Vision and I like it.

I want to get the VALUE of element and compare it to another ELEMENT

what can I use?

it’s like this

1st element
css=#bottom-area > div.bottom-widgetbar-content.backtesting > div > div > div > div.reportContainer-NyzFj5yn > div.container-AXqPXerm > div:nth-child(1) > div.container-LVMgafTl.negativeValue-ird3aQgt > div.highlightedValue-LVMgafTl

2nd element
css=#bottom-area > div.bottom-widgetbar-content.backtesting > div > div > div > div.reportContainer-NyzFj5yn > div.container-AXqPXerm > div:nth-child(1) > div.container-LVMgafTl.positiveValue-ird3aQgt > div.highlightedValue-LVMgafTl

This is the only thing that changes

“negativeValue” and “positiveValue”

how can I get the “TEXT” of that element if the value is positive or negative?

do I need to store both element on a variable and compare them after?

if positive == true then use this element to get that value?

storetext to get text of the element
javascript to compare 2 values or do conditional check

no im not trying to get the text of the element but the ELEMENT itself to compare the element

You want to check which of the two elements is there?
Extract text of both
Which ever returns #LNF doesn’t exist