Advertisement
Guest User

Untitled

a guest
Oct 21st, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. chrome_options = webdriver.ChromeOptions()
  2. chrome_options.prefs = PyWebBot.Google_desired_capabilities(config['downloads'])['prefs']
  3. self.driver = webdriver.Chrome(path.join(config['drivers'],'chromedriver.exe'), chrome_options=chrome_options)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement