I am developing a java application. I have scenario to take screen shot of the URL that comes in to the server.
Is there any java(or any lang) browser library to load webpages and get some screenshots of the loaded page. It would be nice if the lib allows DOM traversal.
Update:
java(or any lang)
: Any other language is not a problem but the library should co-operate with java.
I have tried to setup Qt Jambi
and spent a lot of time on this but the result is nothing.
If you provide any concrete material to setup Jambi, it would be appreciative.
I also gave a try to spynner.py
. My native language is Java and i thought i could use spynner.py
with Jython
. But, PyQt
cannot be used with Jython
. So, i am not expecting any answers related to Python
.
Basically, I need a library to do:
Take Screen shot.
Some DOM traversing.
Some Javascript Execution.
and to get the result of the Executed JS code.
Thanks.
I appreciate all the responses. I ended up with phantomjs
. It fits well for my needs. Its a command line tool.