I want to check if an element on my website (checkbox) is checked or not. The only difference in the source code I see is the following:
not checked
<div class...>
<label id...>
<span class....>
<i class="icon-line-check></i>
checked
<div class...>
<label id...>
<span class....>
<i class="icon-line-check>::before</i>
When I println the text if this i-element by
String value = WebUI.getText(findTestObject('Pages/Listing/value_ielement'))
println(value)
both times the println is empty. What do I miss, how can I check if this element is checked?