Python selenium firefox manejar ssl bypass

Ejemplos de código

0
0

python selenium firefox manejar ssl bypass

 #NOT the correct way and it doesn't work EVERY time, but it works for me
from selenium import webdriver
driver = webdriver.Firefox()
site ='https://your-site.pt'
try:
    driver.get(site)
    time.sleep(4)
except:
    Button = driver.find_element_by_id("enableTls10Button") 
    Button.click()
   #NOT the correct way and it doesn't work EVERY time, but it works for me

Páginas relacionadas

Páginas de ejemplo relacionadas

En otros idiomas

Esta página está en otros idiomas

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Polski
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................