Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Mechanize stack_depth equilent in mech::firefox

by Anonymous Monk
on Apr 10, 2013 at 07:25 UTC ( #1027912=note: print w/ replies, xml ) Need Help??


in reply to Mechanize stack_depth equilent in mech::firefox

stack_depth will not work with WWW::Mechanize::Firefox?


Comment on Re: Mechanize stack_depth equilent in mech::firefox
Re^2: Mechanize stack_depth equilent in mech::firefox
by Anonymous Monk on Apr 10, 2013 at 07:43 UTC

    stack_depth will not work with WWW::Mechanize::Firefox?

    Firefox doesn't have a stack_depth option, and WWW::Mechanize::Firefox simply lets firefox keep the history

    See https://developer.mozilla.org/en-US/docs/DOM/Manipulating_the_browser_history

    You could try ->eval in some javascript emulating the feature of stack_depth,

    But , since I don't write spiders, I find that going ->back works for me

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1027912]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (13)
As of 2015-07-02 09:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (33 votes), past polls