I have been trying to load my Firefox (Mozilla Firefox 49.0), with simple python script and with the assistance of selenium-2.53.6 on Ubuntu 16.04.1 LTS, but even selenium's basic example 0 doesn't work:
from selenium import webdriver
browser = webdriver.Firefox()
browser.get('http://seleniumhq.org/')
I always get after about 5 seconds a timeout, and firefox crashes with the following message:
"Can't load the profile. Profile Dir: /tmp/tmpl5qlfokc If you specified a log_file in the FirefoxBinary constructor, check it for details"
so I created a specific firefox profile (profile -p), and used it, wrote:
profile = webdriver.FirefoxProfile('absolute path to profile folder')
driver = webdriver.Firefox(profile)
but still it seems no matter what I do, the browser crashes after 5 seconds.
Read the post can't load profile on firefox and followed the instructions but still unfortunately the same result. does anyone know how to overcome this the issue?
Thank you all!