We recently moved to a newer version of webtest with htmlunit 2.8 snapshot and have been facing issues with execution of onload. It seems like in the newer version of webtest the onload events fires before the jQuery (version 1.2.6) ready(). This was not the case in older version of webtest with htmlunit 2.6.
~Sandy

