Today, when i use the selenium webdrive, i got an error. my platform is mac osx . this is my exception log.
ruby-1.9.2-p0 > Selenium::WebDriver.for :firefox
I did lsof -i TCP:7054 and found the corresponding process_id, and then finally killed the given process withkill -9 process_id
lsof -i TCP:7054
kill -9 process_id
And then tried the test again, and it did worked :)