2013-06-10から1日間の記事一覧
RubyのMechanizeでFormのbutton要素をクリックしてButton要素の値を渡す方法 # get the form form = agent.page.form_with(:name => "my-form") # get the button you want from the form button = form.button_with(:value => "Search") # submit the form …
RubyのMechanizeでFormのbutton要素をクリックしてButton要素の値を渡す方法 # get the form form = agent.page.form_with(:name => "my-form") # get the button you want from the form button = form.button_with(:value => "Search") # submit the form …