Recently I updated my Firefox from version 30 to 39 . But after updating my Firefox to version 39 test case written for a project which make use of selenium starts failing. The reason being selenium is unable to obtain stable connection while the same test cases where working fine for earlier Firefox version.