I’m testing a webpage that has a with innerHTML value of a number I need
<span class="percent" style="display:none">50</span>
nightwatch’s getText() returns only the “displayable” text. in my case its null.
What is the right way to get the value ?