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 1077137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:31:54+00:00 2026-05-16T21:31:54+00:00

I have a website here which is continuously updated by Ajax. I’m using HtmlUnit

  • 0

I have a website here which is continuously updated by Ajax. I’m using HtmlUnit in Java and need to get the updated text values but I don’t know how.

For example: TextValue. When “TextValue” changed, how can I access the new value? I know there is a DomChangeListener (for added or removed nodes) and a HtmlAttributeChangeListener but I don’t see a way the get the changed text values.

It must not necessarily be a notification (event), it would be ok for me to check the values manually every x seconds but the only way I tried is per page.asXML and page.asText, but the source is never updated, the values are always the first values when the page was loaded.

Anyone knows how to accomplish this task? Maybe another framework or completely other way to do it? Thanks.

Edit: It should run headless on a server. And the task it NOT to just refresh the page all the time to get the updated source-code.

  • 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-16T21:31:54+00:00Added an answer on May 16, 2026 at 9:31 pm

    http://sourceforge.net/tracker/?func=detail&aid=2818380&group_id=47038&atid=448269

    it is a known bug in HTMLUnit, a patch is included at the link above

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a website which draws white (empty) content/text on IE 7. However, as
TGIF, I have a website I'm developing which is using ASP.NET masterpage/sitemap/content pages setup.
HI, I have a flash application (working demo here ) which I'm using to
Here's the scenario, i have a website, which in a single HTTP request (HTTP
I have a website which is using two databases. I have a router set
I have a website I've built in VS2010 which is using MVC3 (Razor) I
Here's the setup. I have web site which is essentially a simple CMS. Here
I have set up a website here: http://liamwli.co.uk/ggsim On the bottom, there are 2
I work for a travel agency, they have a website, from here they want
Here's what I am working on. At my website I have multiple processes with

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.