I have tried several Python libraries including requests and selenium with no success. I open a webpage that requires authentication. On this webpage is a counter. I want to log the counter values as it changes. If I try one of the popular python libraries mentioned, they all do the same in that they open a new instance of the page. The webpage allows me to only open one instance of the page with my password. I can view html and see the counter value incrementing while viewing the webpage. Is there a Python way to set a path to the html file while the page is open so my code can read it? Note the counter may change every few seconds.