similar to: "save" method

Displaying 20 results from an estimated 10000 matches similar to: ""save" method"

2009 Jun 25
2
Bad Form?
Hi, This is my first post, I wanted to ask a quick question about "Bad Form" -- rather, am I doing something with Mechanise I shouldn''t be doing? Here''s the long and short of it - I am using Mechanize with Cucumber and RSpec to test a *ahem* Perl XML web service.. talk about technology soup, but I have it working quite well. I have an example project on GitHub that
2009 Apr 09
1
undefined method ''text'' ...
Just trying to run the example ***** require ''rubygems'' require ''mechanize'' a = WWW::Mechanize.new a.get(''http://rubyforge.org/'') do |page| # Click the login link login_page = a.click(page.links.text(/Log In/)) # Submit the login form my_page = login_page.form_with(:action => ''/account/login.php'')
2002 Oct 19
2
Installing Neverhood on wine 2002.10.07
Hi: I'm attempting to run "The Neverhood" on FreeBSD/wine-2002.10.07 no windows config, which, according to the application DB, should work. When I run the setup95.exe program the Neverhood installer screen, and when I hit "INSTALL" I get: bash-2.05b$ wine d:setup95.exe fixme:cdrom:CDROM_GetIdeInterface not implemented for BSD fixme:reg:GetSystemInfo not yet supported on
2006 Oct 11
0
Mechanize: save and cancel doesn''t work in JSPWiki: Firefox header
This the header from Firefox to the JSPWiki server when submitting the form. There is also the redirect, but I only copied the POST. POST /coswiki/Edit.jsp?page=OldWikiNewWikiDiff HTTP/1.1 Host: tns-fbu-22-091.corp.telenor.no:880 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7 Accept:
2002 Jun 25
1
RE: [PATCH] smbfs readdir fix (CFT: NetApp, OS/2)
Can someone share the smbfs-2.4.19-pre9-readdir.patch. -----Original Message----- From: David.Lee@bisus.com [mailto:David.Lee@bisus.com] Sent: Tuesday, June 25, 2002 4:21 PM To: vlads@sympatico.ca; urban@teststation.com Cc: samba@lists.samba.org; David.Lee@bisus.com Subject: [Samba] RE: [PATCH] smbfs readdir fix (CFT: NetApp, OS/2) Vlad. I still got the same problem - 'ls | wc -l'
2008 Oct 24
2
NeverHood won't run [Unable to initialize DirectDraw]
I just installed the old game The Neverhood into WINE, and it won't run. On start up it pops up the following dialogue boxes: DDERR_UNSUPPORTED and Unable to initialize DirectDraw. I have it set to run in Windows 98 (like the how-to from the AppDB), and I've tried it with both Vertex Shader and pixel shader on and off. I installed the DirectX that came with it. I keep getting the same
2002 Jun 25
2
RE: [PATCH] smbfs readdir fix (CFT: NetApp, OS/2)
Vlad. I still got the same problem - 'ls | wc -l' returned incorretc numbers. I installed the following patches with the sequence vs. the kerner 2.4.18: 1. 00-smbfs-2.4.18-codepage.patch.gz 2. 01-smbfs-2.4.18-lfs.patch.gz 3. 02-smbfs-2.4.18-unicode.patch.gz 4. smbfs-2.4.19-pre9-readdir.patch After installed patches, I ran 'make modules' and so on. Any more
2007 Mar 18
1
Submitting a form sends a file. How do I save it?
I''ve been using Mechanize for a project that i''ve been working on, but this is the first time i''m having to use forms (scraping previously). So, after i fill out the form, when I hit submit, it sends me information in the form of a text file to download. For the life of me, I can''t see how to get access to it. When clicking on a link, you can put a
2007 Jan 12
1
Single method call to retrieve the entire page in HTML?
All, Another easy question. In Hpricot, on a doc that I am using, I can do a .to_html method and retrieve the entire page. However, this doesn''t seem to work in Mechanize. My goal is to the text of the page and put it into a database to make it searchable with ferret (using the acts_as_ferret plugin in Rails). Does anyone have a good suggestion short of iterating over the entire
2006 Mar 12
2
Strange error: undefined method `rewrite''
Hi, when I generate a new rails project with a simple scaffolded controller, I get a strange error message, whenever it tries to call the url_for method, for example: ,---- | undefined method `rewrite'' for #<Url:0xb7675e64> | | Extracted source (around line #7): | | 4: </p> | 5: <% end %> | 6: | 7: <%= link_to ''Edit'', :action =>
2007 Jul 27
0
mechanize 0.6.10 Released
mechanize version 0.6.10 has been released! * <http://mechanize.rubyforge.org/> The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. Changes: #
2007 Jun 29
0
(no subject)
Thanks Mat. ----- Original Message ---- From: Mat Schaffer <schapht at gmail.com> To: Ruby Mechanize Users List <mechanize-users at rubyforge.org> Sent: Friday, June 29, 2007 7:22:40 AM Subject: Re: [Mechanize-users] (no subject) On Jun 26, 2007, at 11:33 AM, Matt White wrote: Hello, I am on a page that lists 78 items and can only show 25 per page, so there are links for each
2007 Feb 27
0
mechanize 0.6.5 Released
mechanize version 0.6.5 has been released! http://mechanize.rubyforge.org/ The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. Changes: =
2009 Feb 16
0
warn_slowpath in clean_tree_block
I''ve just started playing with Btrfs, and I''m getting a log full of kernel warnings that look something like this: Feb 16 09:02:17 vlad kernel: ------------[ cut here ]------------ Feb 16 09:02:17 vlad kernel: WARNING: at fs/btrfs/disk-io.c:815 clean_tree_block+0x9d/0xbb [btrfs]() Feb 16 09:02:17 vlad kernel: Hardware name: System Product Name Feb 16 09:02:17 vlad kernel:
2007 Apr 15
0
mechanize 0.6.8 Released
mechanize version 0.6.8 has been released! http://mechanize.rubyforge.org/ The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. Changes: = Mechanize
2008 Mar 12
0
mechanize 0.7.3 Released
mechanize version 0.7.3 has been released! * <http://mechanize.rubyforge.org/> The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. Changes: #
2006 Dec 09
1
manipulate headers?
Hi... Here''s a working Perl script that I want to be able to do in Ruby: use WWW::Mechanize; my $url = "http://host/tt?name=chris"; my $mech = WWW::Mechanize->new(); $mech->add_header( Referer => "http://chrismcmahonsblog.blogspot.com" ); $mech->add_header( Cookie => "messageid=170118; memberid=1007"); $mech->get($url) so the header
2008 Jan 15
0
mechanize 0.7.0 Released
mechanize version 0.7.0 has been released! * <http://mechanize.rubyforge.org/> The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. Changes: #
2007 Mar 28
0
mechanize 0.6.7 Released
mechanize version 0.6.7 has been released! http://mechanize.rubyforge.org/ The Mechanize library is used for automating interaction with websites. Mechanize automatically stores and sends cookies, follows redirects, can follow links, and submit forms. Form fields can be populated and submitted. Mechanize also keeps track of the sites that you have visited as a history. Changes: = Mechanize
2010 Oct 06
0
can you mechanize.get('http://www.sephora.com/browse/product.jhtml?id=P230234') without error?
hey guys, i cant seem to mechanize.get('' http://www.sephora.com/browse/product.jhtml?id=P230234''), it errors out as: /usr/local/lib/ruby/gems/1.9.1/gems/mechanize-0.9.2/lib/www/mechanize/chain/response_header_handler.rb:32:in `handle'': invalid byte sequence in UTF-8 (ArgumentError) from