I'm stuck a bit with that issue. I need to stop my test scenario execution until progress bar is visible. Progress bar is handled by nprogress.js
I was thinking about to catch it (progress bar) as WebElement but i assume that i won't be able to find it in time because progress bar can be visible from 1 to 6 seconds and selenium will search the element longer that execution itself.
Is there any possible way how i can check nprogress.js execution status?