1 like 0 dislike
20 views
in Ruby by
Ruby mechanize asp.net javascript form submit işlemi örnek kod

1 Answer

0 like 0 dislike
by anonymous Bilge (165k points)
puts "GO PAGE 2"
form = @route_personel_page.form("aspnetForm")
form.add_field!('__EVENTARGUMENT', 'Page$2')
form.add_field!('__EVENTTARGET', 'useyourtargetnameinpage')
page = @mechanize.submit(form) # this gets page 2
...