Hi Christoph, HtmlUnit-2.1 introduced processing of CSS "on demand" for maximal efficiency, which means only when scripts wants to access CSS related properties. Nevertheless in some cases, you *know* that CSS processing doesn't matter for your tests and even the "on demand" processing is too slow. HtmlUnit-2.2 snapshot already contains an option for this: WebClient.setCssEnabled(true/false). You can pick a snapshot to use it already.
It would make sense to add a config option for this once WebTest uses HtmlUnit-2.2. Can you open an issue for it? Cheers, Marc. -- Blog: http://mguillem.wordpress.com Christoph Witych wrote: > Dear Marc, dear webtest community, > > after upgrading to webtest-version R_1705 my tests are taking 2 up to 5 times > longer than before. One thing I noticed is that I get many many htmlunit > warnings during execution like > > [invoke] 21.05.2008 > 17:50:33|WARN|com.gargoylesoftware.htmlunit.javascript.host.Stylesheet|main|CSS > error: null [13:25] Fehler in Style-Regel. Ungültiger Token ".2cols". > Erwartet wurde einer von: <S>, <LBRACE>, <COMMA>, <PLUS>, <GREATER>, <IDENT>, > "*", <HASH>, ".", "[", ":". > > Is there a way to turn of css-validation of htmlunit? Any other ideas? > > Thanks in advance, > Christoph > > _______________________________________________ > WebTest mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/webtest > _______________________________________________ WebTest mailing list [email protected] http://lists.canoo.com/mailman/listinfo/webtest

