Skip to content

Instantly share code, notes, and snippets.

@coppeliaMLA
Last active October 5, 2017 16:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coppeliaMLA/042d532978d3e7634b53273bf8566b32 to your computer and use it in GitHub Desktop.
Save coppeliaMLA/042d532978d3e7634b53273bf8566b32 to your computer and use it in GitHub Desktop.
#Test imports
import urllib2, ssl, json, time, re
from bs4 import BeautifulSoup
from selenium import webdriver
from selenium.webdriver.support.ui import Select
#Test urllib2
import urllib2
response = urllib2.urlopen('https://en.wikipedia.org/wiki/Test', context=ssl.SSLContext(ssl.PROTOCOL_TLSv1))
#Test Selenium
path_to_chromedriver = 'C:\ChromeDriver\chromedriver_win32\chromedriver.exe'
driver = webdriver.Chrome(path_to_chromedriver)
driver.quit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment