
Profile Dir: %s If you specified a log_file in the FirefoxBinary constructor, check it for details. Raise WebDriverException("Can't load the profile. But after a while, the python script crashes with the following error message: Traceback (most recent call last):įile "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/firefox/webdriver.py", line 59, in _init_įile "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/firefox/extension_connection.py", line 47, in _init_įile "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/firefox/firefox_binary.py", line 66, in launch_browserįile "/usr/local/lib/python3.4/dist-packages/selenium/webdriver/firefox/firefox_binary.py", line 109, in _wait_until_connectable The Firefox does open and is responsive (I can enter a website in the search bar). I did the following: from selenium import webdriverįrom _binary import FirefoxBinaryīinary = FirefoxBinary("/path/to/firefox/binary")ĭ = webdriver.Firefox(firefox_binary=binary)

In order to automate testing, I opted to use Selenium but unfortunately, my newly built Firefox seem to not support Selenium. For my research, I did some source code modifications in firefox and build it myself.
