简体   繁体   中英

Error with selenium firefox webdriver

I am getting the following error when I try to run a test case in Selenium. I have Firefox 19.0 installed on my system and I am using selenium-server-standalone-2.32.0.jar

org.openqa.selenium.WebDriverException: Unable to bind to locking port 7054 within 45000 ms System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.6.0_45' Driver info: driver.version: FirefoxDriver at org.openqa.selenium.internal.SocketLock.lock(SocketLock.java:92) at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:71)

I have tried various versions of Firefox but the error persists. Is this a compatibility issue? If yes, any suggestions on how to fix it?

Thanks

Try closing all applications that could potentially use ports and retry. Or try disabling your firewall/antivirus.

Also updating webdriver or firefox may help.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM