Answers for "python selenium firefox handle ssl bypass"

0

python selenium firefox handle 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
Posted by: Guest on November-06-2020

Code answers related to "python selenium firefox handle ssl bypass"

Python Answers by Framework

Browse Popular Code Answers by Language