This file contains hidden or 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
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from pyquery import PyQuery as pq | |
# Set options | |
options = webdriver.ChromeOptions() | |
options.add_argument('headless') |
This file contains hidden or 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
tests |
This file contains hidden or 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
$ which virtualenv | |
/Users/kboers/.pyenv/shims/virtualenv | |
$ virtualenv --version | |
13.1.2 | |
$ virtualenv --always-copy test_environment | |
New python executable in test_environment/bin/python2.7 | |
Also creating executable in test_environment/bin/python | |
Installing setuptools, pip, wheel...done. | |
$ test_environment/bin/python |