<s> import sys <EOL> import requests <EOL> try : <EOL> from . helper import * <EOL> except SystemError : <EOL> from helper import * <EOL> def compareRequestsAndSelenium ( url ) : <EOL> html1 = str ( requests . get ( url ) . text ) <EOL> try : <EOL> driver = webdriver . Firefox ( ) <EOL> driver . maximize_window ( ) <EOL> driver . get ( url ) <EOL> html2 = str ( driver . page_source ) <EOL> finally : <EOL> driver . close ( ) <EOL> view_diff ( url , html1 , html2 ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> compareRequestsAndSelenium ( sys . argv [ <NUM_LIT:1> ] ) </s>
