Question

How to extract and save into variable specific information from outerHTML

  • 18 January 2023
  • 0 replies
  • 19 views

Badge

Hi everyone,

I would like to extract only z-index: XXXX from this part os html code form a in company website. This is about to use ina loop to identify a “wait screen” turn on and turn off to follow the rest of process. I have identify this outerHTML that regards changes in this website about “wait screen”.

<div id="csr-load" class="ui-dialog ui-widget ui-widget-content ui-corner-all ui-shadow csr-loading ui-overlay-hidden" role="dialog" aria-labelledby="csr-load_title" aria-hidden="true" aria-live="off" style="width: 580px; height: auto; left: 383.5px; top: 281.5px; visibility: hidden; z-index: 1016; display: block;"><div class="ui-dialog-content ui-widget-content" style="height: 60px;"><img id="j_idt16" src="/customer/resources/img/loading.gif" alt="">
            <span id="csr-load-message" style="display: inline;">Por favor, aguarde...</span>
            <span id="csr-load-messageLong" style="display: none;">Aguarde, processamento pode ser demorado devido ao grande volume de dados...</span></div></div>

Following attached a screenshot of this “waitng screen”. Also, attached a part of object capture from this wait screen.

Thank you for your help.


0 replies

Be the first to reply!

Reply