Last active
October 5, 2017 16:39
-
-
Save coppeliaMLA/042d532978d3e7634b53273bf8566b32 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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