java - How to write loop for webpage counter -
there's element on webpage thats counter looks this:
<span id="counter_index_page_325846">00:00:51</span>
how write loop element every time counter gets down 00:00:01 , keeps doing assuming goes minute every action performed.
this have far:
while (counter_index_page_325846.value < 00:00:01 ) { //perform action }
you must way
while (counter_index_page_325846.value > 00:00:01) counter_index_page_325846 = // assign new value
use greate (>), otherwise while loop won't work
Comments
Post a Comment