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

Re: mechanize and javascript

by geekphilosopher (Friar)
on Mar 17, 2007 at 06:44 UTC ( [id://605261]=note: print w/replies, xml ) Need Help??


in reply to mechanize and javascript

You should have a look at WWW::Selenium, an interface to the excellent Selenium Remote Control. Combine it with the automatic Perl code generation of the Selenium IDE Firefox plugin, and writing code that navigates websites is as easy as just clicking through the site. There's even a Test:: module available, if you're wanting to unit test your site.

(No, I'm not affiliated withe OpenQA, I just use their code a lot at work)

Replies are listed 'Best First'.
Re^2: mechanize and javascript
by lazybowel (Acolyte) on Mar 17, 2007 at 07:04 UTC
    hey thanks for the help guys, i looked at the Mozilla::Mechanize but when i tried to install it it boiled down to missing Glib and when i tried installing that the following error came up....

    GObject.xs:980: error: `G_TYPE_INITIALLY_UNOWNED' undeclared (first use in this function) GObject.xs:980: error: (Each undeclared identifier is reported only once GObject.xs:980: error: for each function it appears in.) make: *** GObject.o Error 1 /usr/bin/make -- NOT OK

    this happened before when i tried installing a soulseek client for linux. anyway im going to try the WWW::Selenium next

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found