Displaying 1 result from an estimated 1 matches for "destination_city".
2007 Mar 20
6
bad URI problem when submitting a form
...')
# the form isn''t on the main page, and it''s necessary to follow that
# link to get a session on the site (local cookie)
link = page.links.text("train")
page = agent.click(link)
form = page.forms.first
# filling the form
form.ORIGIN_CITY = "paris"
form.DESTINATION_CITY = "lille"
# submit
page = agent.submit(form, form.buttons.first)
Thanks,
Bruno Duy?