You are doing a synchronous get() so the entire page is loaded by the time
that call returns. The # part of a URL ("fragment") is only read by the
javascript, so whatever is supposed to check that will not get executed by
Mojo::UserAgent. You need a javascript engine.On Wed, Feb 11, 2015 at 3:11 PM, M. Aaron Bossert <[email protected]> wrote: > is there no way to insert a delay between the request and the retrieve? > or am I misunderstanding how that works? > > On Wed, Feb 11, 2015 at 3:04 PM, sri <[email protected]> wrote: > >> I suspect that this is because Mojolicious is retrieving the page before >>> the javascript (or whatever) has a chance to move to the "next" page. >>> >> >> Mojolicious does not run JavaScript at all, you're going to need a real >> browser. >> >> -- >> sebastian >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mojolicious" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/mojolicious. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
