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 -

How do you convert a timestamp into a datetime in python with the correct timezone? -