Guest User

Untitled

a guest
Jan 21st, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. from selenium import webdriver
  2.  
  3. firefox_profile = webdriver.FirefoxProfile('C:/Users/Семья/AppData/Roaming/Mozilla/Firefox/Profiles/a0h5hppu.default-1524421021997')
  4.  
  5. firefox_profile.add_extension(extension='C:/Users/Семья/AppData/Roaming/Mozilla/Firefox/Profiles/a0h5hppu.default-1524421021997/extensions/{6102b8dc-1dcb-4f98-ae5c-1240d815ca92}.xpi')
  6.  
  7. firefox_profile.set_preference("browser.privatebrowsing.autostart", True)
  8.  
  9. driver = webdriver.Firefox(firefox_profile=firefox_profile)
Add Comment
Please, Sign In to add comment