jjlee / mechanize

Stateful programmatic web browsing in Python, after Andy Lester's Perl module WWW::Mechanize .
http://wwwsearch.sourceforge.net/mechanize/
618 stars 123 forks source link

open response in browser after submit forms #109

Open kartikdanidhariya opened 9 years ago

kartikdanidhariya commented 9 years ago

hi, i used your library it very useful to me
i write one python script

br.open('http://sites/moodle/login/index.php') br.form['username'] = 'username' br.form['password'] = 'password' br.submit() print "br.response().read()",br.response().read()

after submit form it returns response in br.response()

so now i want to open this br.response() in to browser automatically how can i get that, please help, thanks in advance!!