2

I have developed an api using djangorestframework. It uses selenium and firefox driver. It works completely fine on my localhost. But it gives WebDriverException when I try to run it on server.

Server and host both have the same environment, as mentioned below:

Ubuntu - 14.04;
python - 2.7.6;
Django - 1.9.6;
djangorestframework - 3.3.3;
selenium - 2.53.2;
Mozilla firefox - 46.0.1;
bs4 - 0.0.1;

enter image description here

The error message is:

WebDriverException
Message: The browser appears to have exited before we could connect. If you specified a log_file in the FirefoxBinary constructor, check it
/home/Ubuntu/local/lib/pyhton2.7/site-packages/selenium/webdriver/firefox/firefox_binary in _wait_until_connectable, line 98 
Dax Amin
  • 497
  • 2
  • 5
  • 13

0 Answers0