Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

When I use selenium-firefox-driver to open firefox30, it can't work well . Could you please offer a new selenium driver version to operate firefox30?

As title.

As title.

Chosen solution

Is this what you are looking for?

Read this answer in context 👍 1

All Replies (2)

Chosen Solution

Is this what you are looking for?

Well, thank you for your reply.

I had solved the problem. It does nothing with driver itself.

I didn't install the firefox in the default fold. So the driver bin can't find firefox.exe. Change it as followed.

                       // the path you install firefox

File pathToFirefoxBinary = new File("C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe"); FirefoxBinary firefoxbin = new FirefoxBinary(pathToFirefoxBinary); firefox = new FirefoxDriver(firefoxbin, null);