Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6bff8c110b
tokland
file 11 lines (10 sloc) 0.351 kb
1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/python
import spynner
  
browser = spynner.Browser()
browser.create_webview(True)
browser.load("http://juicystudio.com/experiments/ajax/index.php")
browser.click_ajax("#fact")
print browser.runjs("_jQuery('#update').html()").toString()
browser.click_ajax("#fact")
print browser.runjs("_jQuery('#update').html()").toString()
browser.close()
Something went wrong with that request. Please try again.