zc.testbrowser
30/04/2009
zc.testbrowser recent works and thoughts
I worked recently on merging my collective.anonymousbrowser back to zc.testbrowser.
It's definitivly seems to run fine with python >= 2.5.
Points of the merge were large:
- Integrate the proxy balancing capability
- Integrate the user agent faking capability
- Add tests where it was missing
- Improve the "real" class
- Make the real class mozrunner powered, that's free you to configure a firefox, and just let the code configure a default profile for you.
- Integrate the existing "screenshot" javascript function as a class method. Thats enables you to do browser.screenshot() and that makes a screenshot of the running firefox.
But, something i hadn't tested, ..., was the python 2.4 support. Both zc.testbrowser and mozrunner have problems with it...
I will try to make the next commits fix that if possible.
As it's not yet officially released., you can try the code there:
svn://svn.zope.org/repos/main/zc.testbrowser/branches/fastreal_screenshots_mozrunner_proxys
17/03/2009
collective.anonymousbrowser future
As a part of a recent discussion i had on irc with Stephan Richter, one of my next works will be to merge zc.testbrowser with collective.anonymousbrowser.
I worked on collective.anonymousbrowser to allow the use of proxys and proxy balancing over zc.testbrowser proxys.
Another interressant feature fir the project was also to retry urls if there were errors.
I made also some bugfix and improvments on the zc.testbrowser.real.Browser side like using mozrunner to control firefox, loading directly the js file if we are local..
What i want to do now is to port all the interresting things back to zc.testbrowser.
Hope i will have time for that this week.


