Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: Mimicking Internet Explorer (IE) via LWP or Mechanize?

by Anonymous Monk
on Aug 11, 2010 at 21:28 UTC ( #854517=note: print w/replies, xml ) Need Help??

in reply to Mimicking Internet Explorer (IE) via LWP or Mechanize?

Here is all the answers ... use wireshark, livehttpheaders ... or WWW::Mechanize::Firefox, WWW::Scripter, or Win32::IE::Mechanize via WINE
  • Comment on Re: Mimicking Internet Explorer (IE) via LWP or Mechanize?

Replies are listed 'Best First'.
Re^2: Mimicking Internet Explorer (IE) via LWP or Mechanize?
by dneedles (Sexton) on Aug 11, 2010 at 22:13 UTC
    The issue from the previous post was that WIN32:IE:Mechanize appears to not work correctly with frames. Google and perlmonk searches turned up questions back to 2005 but no real answers. So using WINE won't work

    I guess I could use a sniffer/tracer as the other solutions suggest and hack out a solution but I figured this sort of problem must have come up before. If possible I wanted to save the few days of troubleshooting.

    Is there any provisions in LWP or Mechanize for simulating a particular browser?

    Or any ideas on the original post? -

    Or is RTF-packets is the only solution here


      Why don't you go and read the links you've already been given? Also see what WWW::Mechanize has to say about its browser "emulation".

        Yes - it's possible that if you don't need any IE-specific rendering or Javascript, and don't need to test with an ActiveX control, that straight WWW::Mechanize with agent_alias will suffice. That's enough to lie and say you're IE.
        I already looked and there is a lot about emulating and running javascript but nothing really on emulating IE except Win32:IE:Mechanize - which has the Frame issue. It sounds like this is new territory... I loaded IE Tab Plus on Firefox and will use Firebug to sniff the http headers and see what is triggering the site to detect IE and modify the script accordingly. Thanks anyway. Good redirects, just didn't fit the bill

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://854517]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2018-01-22 01:44 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (230 votes). Check out past polls.