myProxy = ""
while myProxy == "":
myProxy = parse_anon()
proxy = Proxy({
'proxyType': ProxyType.MANUAL,
'httpProxy': myProxy,
'ftpProxy': myProxy,
'sslProxy': myProxy
})
driver = webdriver.Firefox(proxy=proxy)
driver.get("https://2ip.ru")