请找到代码的一部分:
button = Login_form.button_with(:name => 'Submit')
loggedin_page = Login_form.submit(button)
bizz_hierarchy_form=loggedin_page.form('login_showSplashForm')
button = bizz_hierarchy_form.button_with(:name => 'btnHome') #error raised here
# buyer_page = bizz_hierarchy_form.submit(button)
# print buyer_page.title
错误
D:\Ruby script>ruby Test.rb
mechanize.rb:20:in `<main>': undefined method `button_with' for nil:NilClass (No
MethodError)
D:\Ruby script>
html
<td>
<input type="submit" name="btnHome" value="Homepage" class="btnBig"><input type="hidden" name="_synchToken_hom" value="1139cc8dd7d906f1"/>
</td>
请帮我解决错误。