Python Mechanize select value from <select> box -


i'm trying use mechanize fill , submit form, i'm not able fill select boxes, throws errors. how set value select boxes before submitting it?

select form, , set value want using item assignemnt browser[...] = [...].

b = mechanize.browser() b.open(url) b.select_form(nr=0) b['select_name_attribute'] = ['option_value']  # <----- b.submit() 

Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -