Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

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
Comment

PREVIOUS NEXT
Code Example
Python :: adjusted price in crsp pandas 
Python :: python import class as alias 
Python :: sqlite to python list 
Python :: add python 3.9 to usr/bin 
Python :: how to write a program that interacts with the terminal 
Python :: truc python 
Python :: zoom in geopandas polot 
Python :: python code to display a grid of data table 
Python :: plot a against b 
Python :: python Write code that asks users to enter the year they were born. Print out how many years old they will turn in 2019. 
Python :: tf.data.Dataset select files with labels filter 
Python :: more args python 
Python :: Reading from a file way03 
Python :: flask pass an array of dicts 
Python :: Python zonale statictics on raster 
Python :: python match object 
Python :: Ignoring NaNs with str.contains 
Python :: does xgboost accept pandas 
Python :: Fill area under line plot 
Python :: pairwiseclip arcpy 
Python :: python secret module to generate secure strings 
Python :: initialise a 3D tab in python 
Python :: django chain query 
Python :: fizzbuzz algorithm 
Python :: patoolib extract password-protected archives 
Python :: add column to wandb.Table 
Python :: send notification from pc to phone using python 
Python :: filetype: env "DB_PASSWORD" 
Python :: how to give order in boxplot matplotlib 
Python :: how to resize image with pillow in django 
ADD CONTENT
Topic
Content
Source link
Name
1+1 =