title: How to get the content from web browser using python?
body: <p>I have a webpage :
  <a href="http://kff.org/womens-health-policy/state-indicator/ultrasound-requirements/#" rel="nofollow noreferrer">http://kff.org/womens-health-policy/state-indicator/ultrasound-requirements/#</a>
   and I need to extract the table from this webpage.</p>
  
  <p>Problem Encountered : I have been using BeautifulSoup and requests to get the url content. The problem with these methods is that I am able to get the web content even before the table is being generated.</p>
  
  <p>So I get empty table
       &lt; table> 
           &lt; thead>
           &lt; /thead>
           &lt; tbody>
           &lt; /tbody>
       &lt; /table></p>
  
  <p>My approach : Now I am trying to open the url in the browser using 
      webbrowser.open_new_tab(url) and then get the content from the browser directly . This will give the server to update the table and then i will be able to get the content from the page.</p>
  
  <p>Problem : I am not sure how to fetch information from Web browser directly .</p>
  
  <p>Right now i am using Mozilla on windows system.</p>
  
  <p>Closest link found <a href="https://stackoverflow.com/questions/18439564/how-to-keep-track-of-webpages-opened-in-web-browser-using-python">website Link</a> . But it gives which sites are opened and not the content</p>
  
  <p>Is there any other way to let the table load in urllib2 or beautifulsoup and requests ? or is there any way to get the loaded content directly from the webpage.</p>
  
  <p>Thanks</p>