Firefox browser not opening while same script works fine on chrome browser

I am facing issue while running script on Firefox browser though same script runs fine on chrome. Firefox browser is not opening at all.
My script:

WebUI.openBrowser(‘https://testapp.com/’)

WebUI.maximizeWindow()

//Admin SIgn In

WebUI.setText(findTestObject(‘Sign In/input_useremail’), ‘kkachhi+admin@test.com’)

WebUI.setText(findTestObject(‘Sign In/input_userpassword’), ‘Kal@3333’)

WebUI.click(findTestObject(‘Sign In/button_Sign in’))

Below is the error:

Test Cases/Sign In FAILED because (of) Unable to open browser with url: ‘https://testapp.com/’ (Root cause: org.openqa.selenium.WebDriverException: org.apache.http.conn.HttpHostConnectException: Connect to localhost:45764 [localhost/127.0.0.1] failed: Connection refused: connect

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘KALYANIK’, ip: ‘172.19.19.84’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_102’

Driver info: driver.version: CFirefoxDriver)

Test Cases/Sign In.run:22

Note: Allowed access to both firefox.exe & katalon.exe to communicate through windows firewall

Which version of Firefox are you using?

firefox ver 46

Too old.

According to
https://docs.katalon.com/display/KD/Supported+Environment

Firefox 56+ is required

1 Like

kazurayam said:

Too old.

According to
https://docs.katalon.com/display/KD/Supported+Environment

Firefox 56+ is required
Thank you! I’ll try with it.

It’s working fine now. Thank you for quick response

Glad to hear that.

@kazurayam I’m getting the same error in firefox 68. I’m using katalon version 6.1.5

I have FF67 and I believe it is the latest version publicly available today.

You say you have FF 68. It looks too new. How did you get it?

I got a regular update yesterday in firefox settings.

@kazurayam Issue got resolved. There is 32bit firefox installed in my PC and I’m using katalon 64bit. Now i reinstalled 64bit and my testcases are working fine. Thanks for responsing :slight_smile:

1 Like