I'm actually struggling quite a bit with HTMLUnit. I'm finding quite a few pages that work just fine in "real" browsers but not so well in HTMLUnit.
On Mon, Apr 18, 2011 at 12:36 AM, Kalle Korhonen <kalle.o.korho...@gmail.com > wrote: > Whoops :) To answer your previous question, I have yet to find a > scripted page that would work in "real" browsers but wouldn't work in > HTMLUnit. I use it all the time to test Tapestry5 pages, both at > tynamo.org and proprietary projects. > > Kalle > > > On Sun, Apr 17, 2011 at 5:01 PM, Ray Nicholus <rnicho...@widen.com> wrote: > > It would help if I turned on js support in HTMLUnit. Oops. > > > > On Sun, Apr 17, 2011 at 4:21 PM, Ray Nicholus <rnicho...@widen.com> > wrote: > > > >> Geb has a waitFor feature that should handle this situation, but i still > am > >> not able to overcome this. Has anyone tried htmlunit using tapestry5 > and > >> run into this issue? > >> On Apr 17, 2011 2:22 PM, "Kalle Korhonen" <kalle.o.korho...@gmail.com> > >> wrote: > >> > webClient.waitForBackgroundJavaScript? See > >> > http://htmlunit.sourceforge.net/faq.html. > >> > > >> > Kalle > >> > > >> > > >> > On Sat, Apr 16, 2011 at 8:56 PM, Ray Nicholus <rnicho...@widen.com> > >> wrote: > >> >> I have written some fairly basic tests that all pass on IE & FF, but > >> fail > >> >> when I use HTMLUnit. I'm using 2.0b3 for all webdriver deps & geb > >> 0.5.1. > >> >> > >> >> Looking at the HTML left by GebReportingSpec for the HTMLDriver, the > >> "sign > >> >> in" button that it is supposed to click is not appearing as an > anchor, > >> >> rather, it is appearing as a a span. It starts out as a span and > then > >> is > >> >> replaced with an anchor after the page has rendered, via javascript. > >> This > >> >> is how Tapestry apparently creates LinkSubmit elements. The sign-in > >> element > >> >> in our tapestry template file happens to be a LinkSubmit. > >> >> > >> >> Hmm, now, how to deal with this. Any suggestions? > >> >> > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > >> > For additional commands, e-mail: users-h...@tapestry.apache.org > >> > > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > >