I have the following code:
driver = new FirefoxDriver();
// driver = new InternetExplorerDriver();
The popup (can't post picture)
Message: Error: syntax error
I have tried playing around with the different options for the FireFoxProfile and FirefoxBinary but that didn't seem to be the right direction either. I wasn't sure if the newest version of firefox was causing the problem (17) or if I needed the exe file specifically in the solution like the IEdriver.
You do not need a separate driver for firefox as is the case for IE and chrome. though I have found quite a few posts with the same error as yours on net..so seems to be an issue with the 17 version. You can either downgrade ur ff version or have a look at the options in the below threads (Disclaimer : I havent tried the below :) )
What is your version of Selenium? I am assuming you are using WebDriver? The current version is 2.28.0 Selenium Downloads