for my research, I did some source code modifications in firefox and build it myself. In order to automate testing, I opted to use Selenium but unfortunately, my newly built
For El-Capitan, the followings fixed:
brew install python
then
sudo pip install --upgrade selenium