Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
828 views
by Contributing Tester (92 points)
edited by

Issues launching FF 

OS:
Windows 7

Selenium : 3.4.0

Browser: Firefox
 

 

Build info: version: 'unknown', revision: 'unknown', time: 'unknown'
System info: ip: '169.254.91.8', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_121'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:91)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:637)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:250)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:236)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:137)

 

 

Caused by: java.nio.file.FileSystemException: : The process cannot access the file because it is being used by another process.

at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
by The go-to Tester (181 points)
Can you post your code which you use to start browser. It looks like its not a webdriver issue. Main error you are facing here is "The process cannot access the file because it is being used by another process"

We need to figure out what is causing this.

1 Answer

1 like 0 dislike
by Expert (572 points)
It looks like your selenium Webdriver is not compatible with your Firefox WebDriver.

Few things I would suggest:

Downgrade your selenium WebDriver from 3.4.0 to 3.3.0

Or

Also, you can upgrade your Firefox browser to the latest version and update your gecko driver as well.


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...