title: Javascript and Spynner (Python)
body: <p>I'm trying to scrape a website and do I need to use Javascript. I am using Python 2.7 and Spynner. This is the script:</p>
  
  <pre><code>   &lt;a href="javascript://" onclick="TranslationPopUpTestimonialQuery('Language_ALL', '',       '5', '10', 'date-of-visit')"&gt;6&lt;/a&gt;
  </code></pre>
  
  <p>This is my code in Python:</p>
  
  <pre><code>   import spynner
     browser = spynner.Browser()
     browser.load("http://www.zoover.it/italia/lazio/roma/galileo/hotel")
     page1 = browser._get_html()
     browser.runjs("TranslationPopUpTestimonialQuery('Language_ALL', '', '8', '10', 'date-of-visit')")
     browser.wait_load()
     page2 = browser._get_html()
  </code></pre>
  
  <p>Something does not work as get_html does not give me the desired html page...</p>
  
  <p>This the first url: <a href="http://www.zoover.it/italia/lazio/roma/galileo/hotel" rel="nofollow">http://www.zoover.it/italia/lazio/roma/galileo/hotel</a>. I load this page with browser.load() and i get the HTML. After i try to go to page 2 simulating a click with browser.runjs(). I call the javascript on the onClick. Then If i call browser._get_html() another time the HTML is ever the same.
  Can anyone help me? thanks</p>