def download_selenium_server():
try:<EOL><INDENT>local_file = open(JAR_FILE, '<STR_LIT:wb>')<EOL>remote_file = urlopen(SELENIUM_JAR)<EOL>print('<STR_LIT>')<EOL>local_file.write(remote_file.read())<EOL>local_file.close()<EOL>remote_file.close()<EOL>print('<STR_LIT>')<EOL><DEDENT>except Exception:<EOL><INDENT>raise Exception("<STR_LIT>"<EOL>"<STR_LIT>" % sys.exc_info()[<NUM_LIT:1>])<EOL><DEDENT>
Downloads the Selenium Server JAR file from its
online location and stores it locally.