ghost.py is a webkit web client written in python:
from ghost import Ghost ghost = Ghost() page, extra_resources = ghost.open("http://jeanphi.fr") assert page.http_status==200 and 'jeanphix' in ghost.content
Webkit based scriptable web browser for python.