Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for cont in browser.form.controls:
- print("1%s" % cont.type)
- if cont.type == 'password':
- print("2%s" % cont.type)
- cont.value = 'test'
- print("2password = %s" % cont.type)
- if (cont.type is "text"):
- cont.value = 'test'
- print("3%s" % cont.type)
- print("3username = %s" % cont.type)
- browser.submit()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement