Using Spynner you would able to simulate a web browser with no GUI (though a browsing window can be opened for debugging purposes), so it may be used to implement crawlers or acceptance testing tools.
See usage on: https://github.com/kiorky/spynner/tree/master/src/spynner/tests/spynner.rst Or below if the section is preset
- Leo Lou <https://github.com/l4u>
Throught regular easy_install / buildout:
(In Windows, you may have to install autopy through its installer at https://pypi.python.org/pypi/autopy/)
The bleeding edge version is hosted on github:
git clone https://github.com/kiorky/spynner.git cd spynner python setup.py install
Spynner needs a X11 server to run. If you are running it in a server without X11. You must install the virtual Xvfb server. Debian users can use the small wrapper (xvfb-run). If you are not using Debian, you can download it here: http://www.mail-archive.com/[email protected]/msg69632/x-run
xvfb-run python myscript_using_spynner.py
You can also use tightvnc, which is the solution of the actual maintainer [kiorky].