Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- profile = webdriver.FirefoxProfile()
- driver = webdriver.Firefox(profile)
- Traceback (most recent call last):
- File "C:UsersMoypdevanacondalibsite-packagesIPythoncoreinteractiveshell.py", line 3035, in run_code
- exec(code_obj, self.user_global_ns, self.user_ns)
- File "<ipython-input-15-37f7d14be053>", line 2, in <module>
- driver = webdriver.Firefox(profile)
- File "C:UsersMoypdevanacondalibsite-packagesseleniumwebdriverfirefoxwebdriver.py", line 77, in __init__
- RemoteWebDriver.__init__(self,
- File "C:UsersMoypdevanacondalibsite-packagesseleniumwebdriverfirefoxextension_connection.py", line 49, in __init__
- self.binary.launch_browser(self.profile)
- File "C:UsersMoypdevanacondalibsite-packagesseleniumwebdriverfirefoxfirefox_binary.py", line 68, in launch_browser
- self._wait_until_connectable()
- File "C:UsersMoypdevanacondalibsite-packagesseleniumwebdriverfirefoxfirefox_binary.py", line 103, in _wait_until_connectable
- raise WebDriverException("Can't load the profile. Profile "
- WebDriverException: Message: Can't load the profile. Profile Dir: %s If you specified a log_file in the FirefoxBinary constructor, check it for details.
- import selenium
- print(selenium.__version__)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement