search for: mech_test

Displaying 2 results from an estimated 2 matches for "mech_test".

Did you mean: mech_set
2007 Mar 30
2
keep-alive
Greetings, I''m reporting on what I found after trying to use mechanize on a site like www.tellme.com. With mechanize versions 0.6.5, 0.6.4, 0.6.3, I was able to use mechanize without any problems on www.tellme.com. However, when I upgraded to 0.6.6 or 0.6.7, mechanize simply ground to a halt after a while. I''m not sure where the problem lies, but after looking at the
2006 Sep 08
0
links behavior in 0.6.0
...;'s a demonstration, but I can''t get require_gem to properly load 0.5.4 for some reason. I keep getting "uninitialized constant WWW (NameError)". Under 0.5.4 it will return both links, but under 0.6.0 it''ll only return the one without the <b> child. -- mech_test.rb require ''rubygems'' require ''mechanize'' agent = WWW::Mechanize.new page = agent.get(<URL for test.html>) p page.links.text(/Dude/) -- -- test.html <html> <body> <a href="thing.html"><b>Bold Dude</b></a> &l...