title: How do I get the current active tab in google chrome, using python
body: <p>I am trying to get the current Tab URL the user is in. I was referring to similar question on SO <a href="https://stackoverflow.com/questions/11645123/how-do-i-get-the-url-of-the-active-google-chrome-tab-in-windows">Previously asked question</a> but both first and second answers are no longer working as you can't really access elements of Chrome window using win32gui anymore</p>
  
  <p>Maybe there is a way to take the latest URL from the History file stored in the pc..</p>
  
  <blockquote>
    <p>Please make sure the answer works for Chrome latest version with Python 3.x</p>
  </blockquote>