So I am trying to do something whilst the progressbar is not 0%. Example
var status = webBrowser1.Document.GetElementById("counter");
if(counter.width > 0%)
{
//CODE
}
And here is the HTML for the bar
< div class="progress-bar progress-bar-danger" id="counter" style="width: 0%;"></div>
As you might've guess, it's the "width" I want to keep updated but I dont really know how, any help would be appreciated!