From: Jason Sweat Date: 2005-02-09T03:08:25+09:00 Subject: Re: web testing with Ruby On Wed, 9 Feb 2005 02:44:10 +0900, James G. Britt wrote: > > agent = WWW::Mechanize.new {|a| a.log = Logger.new(STDERR) } > > page = agent.get('https://www.alcoadirect.com/') > > p page.forms > > I wonder if the issue is the use of "https" ? > > Can you get Mechanize to work with a non-SSL URL? I don't think https is the issue: After creating page I can do page.inspect => "#, @body=\" \\r\\n\\r\\n\\r\\n ...snip... </TD>\\r\\n </TR>\\r\\n \\r\\n </TABLE>\\r\\n </TD></TR></TABLE></TD></TR></TBODY></TABLE>\\r\\n<hr size=1 width=760>\\r\\n</BODY>\\r\\n</HTML>\\r\\n\", @response=#<Net::HTTPOK 200 OK readbody=true>, @cookies=[]>" It gives me the error when I try the page.forms method. Any other ideas? Regards, Jason