in reply to Re: WWW::Mechanize::Firefox and dynamic pages
in thread WWW::Mechanize::Firefox and dynamic pages

Wow, I had no idea I could access all those functions. That's actually very helpful in general for some other things I was working on. I'll have to try those scroll functions out.

  • Comment on Re^2: WWW::Mechanize::Firefox and dynamic pages

Replies are listed 'Best First'.
Re^3: WWW::Mechanize::Firefox and dynamic pages
by Special_K (Pilgrim) on Jul 28, 2013 at 07:52 UTC

    UPDATE: Using the scroll function makes the bar scroll, but then when I call:

    $mech->content()

    The friends' names aren't there, even though they are there on the page and I can find them using Firebug. How do I get all the data to load when I call mech->content()?

      Maybe the additional elements live in another iframe? What is the XPath expression you get from Firebug for the new elements?

        The XPath returned from the code is:

        /html/body/div/p/a