search for: google_form

Displaying 1 result from an estimated 1 matches for "google_form".

2010 Jun 10
2
submit button param is duplicated when a form is submitted a second time
...Below I''ve pasted a simple example to reproduce what I say in the subject. I wonder... Is it a bug? Is there any workaround? Thanks! require ''rubygems'' require ''mechanize'' agent = Mechanize.new page = agent.get(''http://google.com/'') google_form = page.form(''f'') google_form.q = ''ruby mechanize'' page = agent.submit(google_form, google_form.buttons.last) pp google_form.request_data page = agent.submit(google_form, google_form.buttons.last) pp google_form.request_data