[webkit-help] How to access a few browser features with python

Ariya Hidayat ariya.hidayat at gmail.com
Wed Dec 8 18:53:39 PST 2010


`> I am looking for information on how to access a few browser features with
> python.  I would like to control the browser session (in paticular, cookies,
> proxies, and user-agent), get access to  downloaded files
> (css/js/images/flash), and have full DOM control.

If you do not mind using QtWebKit, that's pretty easy using PyQt. Some
of examples I've done (http://ariya.ofilabs.com/code#webkit for the
full list) have the corresponding Python version. Check the repository
http://qt.gitorious.org/qt-labs/graphics-dojo, in particular the
subdirectory s5runner, snapscroll, weatherinfo, webnightmode, etc and
you can follow it up from there.


-- 
Ariya Hidayat
http://www.linkedin.com/in/ariyahidayat


More information about the webkit-help mailing list