Created
September 24, 2019 00:02
-
-
Save daviwesley/c593ff6ac69d65e44bf35df77d99401a to your computer and use it in GitHub Desktop.
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.chrome.options import Options | |
import os | |
options = Options() | |
options.add_argument("--window-size=600x400") | |
driver = os.getcwd() + "/geckodriver" | |
driver = webdriver.Firefox(executable_path=driver) | |
# (chrome_options=chrome_options, executable_path=chrome_driver) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment