how to deal with certificates using selenium?,driver.close()