I have the same error. Windows + FF 14.0 and
<dependency> <groupId>org.seleniumhq.selenium</groupId> <artifactId>selenium-java</artifactId> <version>2.21.0</version> </dependency>
I debugged the code and I checked that Thread was stuck in the FirefoxBinary class, inside the method
public void clean (FirefoxProfile profile, File profileDir) throws IOException
profile.isRunning (profileDir) always returns true ... why nothing happens ...
if (Platform.getCurrent().is(Platform.WINDOWS)) { while (profile.isRunning(profileDir)) { sleep(500); } do { sleep(500); } while (profile.isRunning(profileDir)); }
if (Platform.getCurrent().is(Platform.WINDOWS)) { while (profile.isRunning(profileDir)) { sleep(500); } do { sleep(500); } while (profile.isRunning(profileDir)); }
Then I upgraded to 2.25 and it will work!
<dependency> <groupId>org.seleniumhq.selenium</groupId>] <artifactId>selenium-java</artifactId> <version>2.25.0</version> </dependency>
source share