Jump to content
Sign in to follow this  
Clerythecleric

WebDriver, Gecko doesn't connect? Chrome is fine..

Recommended Posts

Clerythecleric
Posted (edited)

Hi,


Sorry I feel like i've been posting alot lately but i'm working on a project for work. Though it is/was going very well, until i was told _FF won't work for newer versions of firefox. Currently work run on ESR update hence the old version and it still working, but would rather transition to webdriver to prevent future problems. Now... I've actually used these drivers before when I did some work with selenium in C#. I had issues last time as well, with gecko. The chrome driver runs just fine and all tests report positive but with the gecko i get this... Isit do to with Amazons Network/VPN blockign it some how? Or any other ideas? :) Ty.
Or could it be BECAUSE were running on an old version of firefox 52.7.4(32-bit) ? I cannot force an update to check (plus wouldn't want to yet :P)

Thank you.

Console output after running wd_test.au3 with firefox.
As you can see, it doesnt seem to send/recv anything, just constant errors.

 

\WebDriver-0.1.0.9\WebDriver-0.1.0.9\wd_test.au3"    
_WDStartup: OS: WIN_10 WIN32_NT 14393 
_WDStartup: AutoIt: 3.3.14.2
_WDStartup: WD.au3: 0.1.0.9
_WDStartup: Driver: geckodriver.exe
_WDStartup: Params: --log trace
_WDStartup: Port:   4444
_WD_Startup ==> General Error: Error launching web driver!
__WD_Post: URL=HTTP://127.0.0.1:4444/session; $sData={"desiredCapabilities":{"javascriptEnabled":true,"nativeEvents":true,"acceptInsecureCerts":true}}
__WD_Post: StatusCode=0; ResponseText=0
__WD_Post ==> Send / Recv error
_WD_CreateSession: 0
_WD_CreateSession ==> Webdriver Exception: HTTP status = 0
Bypass: TestTimeouts
Bypass: TestNavigation
Bypass: TestElements
Bypass: TestScript
Bypass: TestCookies
Running: TestAlerts
__WD_Get: URL=HTTP://127.0.0.1:4444/session//alert/text
__WD_Get: StatusCode=0; $sResponseText=0
__WD_Get ==> Send / Recv error
_WD_Alert: 0
_WD_Alert ==> Webdriver Exception
Alert Detected => 
__WD_Post: URL=HTTP://127.0.0.1:4444/session//execute/sync; $sData={"script":"alert('testing 123')", "args":[[]]}
__WD_Post: StatusCode=0; ResponseText=0
__WD_Post ==> Send / Recv error
_WD_ExecuteScript: 0
__WD_Get: URL=HTTP://127.0.0.1:4444/session//alert/text
__WD_Get: StatusCode=0; $sResponseText=0
__WD_Get ==> Send / Recv error
_WD_Alert: 0
_WD_Alert ==> Webdriver Exception
Alert Detected => 
__WD_Get: URL=HTTP://127.0.0.1:4444/session//alert/text
__WD_Get: StatusCode=0; $sResponseText=0
__WD_Get ==> Send / Recv error
_WD_Alert: 0
_WD_Alert ==> Webdriver Exception
Text Detected => 
__WD_Post: URL=HTTP://127.0.0.1:4444/session//alert/text; $sData={"text":"new text"}
__WD_Post: StatusCode=0; ResponseText=0
__WD_Post ==> Send / Recv error
_WD_Alert: 0
_WD_Alert ==> Webdriver Exception
__WD_Get: URL=HTTP://127.0.0.1:4444/session//alert/text
__WD_Get: StatusCode=0; $sResponseText=0
__WD_Get ==> Send / Recv error
_WD_Alert: 0
_WD_Alert ==> Webdriver Exception
Text Detected => 
__WD_Post: URL=HTTP://127.0.0.1:4444/session//alert/dismiss; $sData={}
__WD_Post: StatusCode=0; ResponseText=0
__WD_Post ==> Send / Recv error
_WD_Alert: 0
_WD_Alert ==> Webdriver Exception
__WD_Delete: URL=HTTP://127.0.0.1:4444/session/
__WD_Delete: StatusCode=0; ResponseText=0
__WD_Delete ==> Webdriver Exception
_WD_DeleteSession: 0
_WD_DeleteSession ==> Webdriver Exception: HTTP status = 0
>Exit code: 0    Time: 18.16

 

Edited by Clerythecleric

Share this post


Link to post
Share on other sites
Danp2
5 minutes ago, Clerythecleric said:

_WDStartup: Driver: geckodriver.exe

_WDStartup: Params: --log trace

_WDStartup: Port:   4444

_WD_Startup ==> General Error: Error launching web driver!

This indicates that there was an error launching the webdriver (geckodriver.exe in this case). Have you downloaded this file? Where is it located?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×