Browser not working

44 views
Skip to first unread message

Chi Gao

unread,
Dec 28, 2016, 3:57:56 PM12/28/16
to splinter-users
It used to be working a few months ago and today when I try to run the code, it won't create the browser instance correctly.
I have updated the splinter, selenium to the latest version. My guess is the FireFox update issue? The FF is updated to 50.1.0.

Thanks,

Here is my code

>>> from splinter.browser import Browser

>>> browser = Browser(driver_name='firefox')


Here is the error message

  File "<stdin>", line 1, in <module>

  File "/Library/Python/2.7/site-packages/splinter/browser.py", line 63, in Browser

    return driver(*args, **kwargs)

  File "/Library/Python/2.7/site-packages/splinter/driver/webdriver/firefox.py", line 48, in __init__

    timeout=timeout)

  File "/Library/Python/2.7/site-packages/selenium/webdriver/firefox/webdriver.py", line 77, in __init__

    self.binary, timeout),

  File "/Library/Python/2.7/site-packages/selenium/webdriver/firefox/extension_connection.py", line 49, in __init__

    self.binary.launch_browser(self.profile)

  File "/Library/Python/2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py", line 68, in launch_browser

    self._wait_until_connectable()

  File "/Library/Python/2.7/site-packages/selenium/webdriver/firefox/firefox_binary.py", line 103, in _wait_until_connectable

    raise WebDriverException("Can't load the profile. Profile "

selenium.common.exceptions.WebDriverException: Message: Can't load the profile. Profile Dir: %s If you specified a log_file in the FirefoxBinary constructor, check it for details.


GabrielDemarchiMaia

unread,
Jan 18, 2017, 7:38:02 PM1/18/17
to splinter-users
Same here, it was working just this morning, i tried downgrading FF, but still the same issue.
Reply all
Reply to author
Forward
0 new messages