def set_proxy(self, proxy):
<EOL>if proxy is None:<EOL><INDENT>self.driver.proxies = {'<STR_LIT:http>': None,<EOL>'<STR_LIT>': None<EOL>}<EOL><DEDENT>else:<EOL><INDENT>self.driver.proxies = {'<STR_LIT:http>': proxy,<EOL>'<STR_LIT>': proxy<EOL>}<EOL><DEDENT>self.current_proxy = proxy<EOL>
Set proxy for requests session