I have upgraded to Selenium 2.43 and Firefox 29 (selenium 2.33 , Firefox 16). I run my scripts in headless mode using pyvirtualdisplay.
Once in a while (say for every 4 days) I am getting below error:
Failed to retrieve Firefox Driver - Exception: Message: 'The browser appears to have exited before we could connect. The output was: Error: cannot open display: :1071\n'
I got one link but it states that 1071 is related to serialization
And sometimes it hangs unconditionally at the starting point itself.
firefoxdriver = webdriver.Firefox(firefox_profile=profile)
In my framework, 5 to 10 GUI scripts using selenium can run in parallel.
Can anyone let me know which factors lead to above conditions?