¿Cómo configurar e implementar archivos Python Selenium en Chrome e IE?
Establecer directorio de descarga:
¿Dónde? ¿selenio? ¿importar? Controlador de red
¿Chromedriver? =?"/usr/bin/chromedriver "
chromeOptions? =?controlador web. ChromeOptions()
preferencias? =?{"descargar.default_directory ":? "/path/download"}
opciones de Chrome . agregar _ experimental _ option(" prefs ", preferencias)
¿Controlador? =?controlador web. chrome(executable_path=controlador de Chrome,?Chrome_options=chromeOptions)Establecer proxy:
¿Desde dónde? ¿selenio? ¿importar? Controlador de red
¿Agente? =?"23.23.23.23:3128"?#?IP:Puerto? ¿aún? host:puerto
chrome_options? =?controlador web. ChromeOptions()
chrome _ options . add _ argument('-proxy-server = ")IE es similar.
Si su problema se resuelve, ¡adoptelo!
Si no se resuelve, continúa haciendo preguntas