実行すると下記エラーがでたときにやったこと
-> Firefoxをインストールする
Traceback (most recent call last): File "ex0.py", line 6, in <module> browser = webdriver.Firefox() # Get local session of firefox File "/Library/Python/2.7/site-packages/selenium-2.33.0-py2.7.egg/selenium/webdriver/firefox/webdriver.py", line 61, in __init__ self.binary, timeout), File "/Library/Python/2.7/site-packages/selenium-2.33.0-py2.7.egg/selenium/webdriver/firefox/extension_connection.py", line 47, in __init__ self.binary.launch_browser(self.profile) File "/Library/Python/2.7/site-packages/selenium-2.33.0-py2.7.egg/selenium/webdriver/firefox/firefox_binary.py", line 50, in launch_browser self._start_from_profile_path(self.profile.path) File "/Library/Python/2.7/site-packages/selenium-2.33.0-py2.7.egg/selenium/webdriver/firefox/firefox_binary.py", line 73, in _start_from_profile_path env=self._firefox_env).communicate() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 679, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1228, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory