Geckodriver not installed for running tests with Selenium

189 views
Skip to first unread message

Annemarie D

unread,
Apr 20, 2018, 8:18:48 AM4/20/18
to codename-taurus
Hi, 
I am trying out a tutorial from Blazemeter on how to execute a Selenium script using Taurus (https://www.youtube.com/watch?v=kykw7yXyeq0), but run into an error when running the script. For some reason Geckodriver can't be installed (which I don't even needs since I'm using Chromedriver and Chrome, not Firefox). The error I get is the following:

14:04:52 ERROR: Error while downloading https://github.com/mozilla/geckodriver/releases/download/v0.20.0/geckodriver-v0.20.0-macos.tar.gz: [Errno socket error] [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)            ] ETA:  --:--:--
100% [                                                                                                                                                                                                                                                   ] ETA:  --:--:--
14:04:52 ERROR: Internal Error: GeckoDriver download failed: No more links to try

Because of this, the script won't run.
I am working on a Mac, using Webstorm as an editor

What to do to make sure Geckodriver is installed? Or can I skip this step? I could maybe install Geckodriver in the needed folder myself so Taurus doesn't have to do this for me?

Thanks in advance!

Kind regards,
Annemarie
 

grey....@gmail.com

unread,
Apr 20, 2018, 9:23:30 AM4/20/18
to codename-taurus
Hi. 
I see some network problem here (probably on your side cos just now this file is downloaded ok for me). 
Please let me know if taurus can't download driver when you can do it manually (just click link above in browser for that)
To avoid auto downloading (by taurus) you should unpack binary and put it into this directory: (version for reference only)
~/.bzt/selenium-taurus/tools/geckodriver/0.20.0/

---
Taras

Annemarie D

unread,
Apr 20, 2018, 9:34:30 AM4/20/18
to codename-taurus
Hi, I can download it manually using the link. For my webdriverIO tests I have a version of Geckodriver in my node-modules as well, that works fine.

I will try to put my download it in the folder you mentioned there



Op vrijdag 20 april 2018 15:23:30 UTC+2 schreef grey....@gmail.com:

Annemarie D

unread,
Apr 20, 2018, 11:57:43 AM4/20/18
to codename-taurus
Adding geckodriver manually worked. Or, the test is now running. I don't see any browsers opening or anything, but something is happening and I get report in blazemeter

David Giordano

unread,
Apr 20, 2018, 11:18:43 PM4/20/18
to codename-taurus
Hi. What version of bzt are you using?

That kind of problems usually happen with older versions of python and openssl on mac. 

Follow the recommended instructions for MacOS
My personal recommendation is to use the bzt version via homebrew or follow the manual installation procedure using the python version of homebrew (because unlike other versions of python on mac, the homebrew version of python include fixes around the openssl on mac)

Annemarie D

unread,
Apr 23, 2018, 4:58:26 AM4/23/18
to codename-taurus
Hi David, I did use the recommended instructions for MacOS. I installed bzt using homebrew. Not sure what the difference with the python version of homebrew.

Op zaterdag 21 april 2018 05:18:43 UTC+2 schreef David Giordano:

Annemarie D

unread,
Apr 23, 2018, 4:59:29 AM4/23/18
to codename-taurus
Using the latest version of bzt

Op maandag 23 april 2018 10:58:26 UTC+2 schreef Annemarie D:

David Giordano

unread,
Apr 23, 2018, 7:30:26 AM4/23/18
to codename-taurus
Hi, Annemarie.

bzt from behind is python, let's see if with the following we can discover what happens.

run the following terminal command to find out which version of python and openssl you have installed, also test if the connection is made by TLS1.2


and

openssl version
-a



Give us the information provided by the commands, we also need to know what version of MacOS you have installed.


Reply all
Reply to author
Forward
0 new messages