Advertisement
Guest User

Untitled

a guest
Jul 25th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. profile = webdriver.FirefoxProfile()
  2. driver = webdriver.Firefox(profile)
  3.  
  4. Traceback (most recent call last):
  5. File "C:UsersMoypdevanacondalibsite-packagesIPythoncoreinteractiveshell.py", line 3035, in run_code
  6. exec(code_obj, self.user_global_ns, self.user_ns)
  7. File "<ipython-input-15-37f7d14be053>", line 2, in <module>
  8. driver = webdriver.Firefox(profile)
  9. File "C:UsersMoypdevanacondalibsite-packagesseleniumwebdriverfirefoxwebdriver.py", line 77, in __init__
  10. RemoteWebDriver.__init__(self,
  11. File "C:UsersMoypdevanacondalibsite-packagesseleniumwebdriverfirefoxextension_connection.py", line 49, in __init__
  12. self.binary.launch_browser(self.profile)
  13. File "C:UsersMoypdevanacondalibsite-packagesseleniumwebdriverfirefoxfirefox_binary.py", line 68, in launch_browser
  14. self._wait_until_connectable()
  15. File "C:UsersMoypdevanacondalibsite-packagesseleniumwebdriverfirefoxfirefox_binary.py", line 103, in _wait_until_connectable
  16. raise WebDriverException("Can't load the profile. Profile "
  17. WebDriverException: Message: Can't load the profile. Profile Dir: %s If you specified a log_file in the FirefoxBinary constructor, check it for details.
  18.  
  19. import selenium
  20. print(selenium.__version__)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement