Displaying 2 results from an estimated 2 matches for "mclurkin".
Did you mean:
mclaurin
2007 Jul 13
2
How do you handle pop ups?
When I click a link to download a file, a pop up window comes up to save the
file. Is there a way to enter a file name and click the submit button with
mechanize?
Thanks,
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mechanize-users/attachments/20070712/558f7018/attachment.html
2007 Jul 12
3
Basic_auth questions
How do you make get the page when using basic_auth? Below is code, I am
getting a 401 error. I am not sure if the basic _auth comes before the
agent.get. I will appreciate any help.
require ''mechanize''
require ''logger''
agent = WWW::Mechanize.new {|a| a.log = Logger.new(STDERR) }
page = agent.get(''https://brewx.qualcomm.com/developer'' )