testing mechanize alternative for browser operation