Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6752105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:00:20+00:00 2026-05-26T13:00:20+00:00

I am developing a java application. I have scenario to take screen shot of

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T13:00:21+00:00Added an answer on May 26, 2026 at 1:00 pm

    In java, you should read the following stackoverflow posts :

    Programmatic web browser Java library

    Take a screenshot of a webpage with JavaScript?

    Embed a web browser within a java application


    Because you say “or any lang” :

    In Python, you have Spynner :

    Spynner is a stateful programmatic web browser module for Python with Javascript/AJAX support based upon the QtWebKit framework.

    According to the documentation, here’s a small snippet :

    import spynner
    
    browser = spynner.Browser()
    browser.load("http://www.wordreference.com")
    browser.runjs("console.log('I can run Javascript!')")
    browser.runjs("_jQuery('div').css('border', 'solid red')") # and jQuery!
    browser.select("#esen")
    browser.fill("input[name=enit]", "hola")
    browser.click("input[name=b]")
    browser.wait_page_load()
    print browser.url, len(browser.html)
    browser.close()
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a Java 5.0 application that connects to Websphere Application Server default messaging
I am developing a Java application that is to have two web interfaces: a
I'm developing a java application that uses some jni calls. I have on C
I'm developing a Java application that has performance at its core. I have a
We are developing a Java application for BlackBerry. We have the home screen in
I have a java web application that I am developing in Netbeans (and running
I am developing a Java Desktop Application but have some confusions in choosing a
I am developing a Java desktop application and would like to have an external
In the application I'm developping (in Java/swing), I have to show a full screen
I'm developing a Java application using Eclipse. My project has two source directories that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.