Trying to access hdml from an open browser using Python.

Jan 18, 2023
Reaction score
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.


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question