FMCorz / mdk

Moodle Development Kit. A collection of tools meant to make developers' lives easier.
GNU General Public License v3.0
85 stars 47 forks source link

Selenium download server not found #117

Closed mdjnelson closed 8 years ago

mdjnelson commented 9 years ago

Ah Belge, where do I start? This software is amazing and has improved my life drastically. You sir, are a living legend.

Anyways, here is the output of the command. Please fix.

BTW, rubbish bug, don't do again.

<3

mark@mma:~/htdocs/sm$ mdk behat --selenium-download Attempting to find a download for Selenium Could not locate Selenium server to download

ericmerrill commented 9 years ago

Yeah, I'm seeing the same thing.

FMCorz commented 9 years ago

They changed the filename on the website, hence MDK does not find it any more.

https://github.com/FMCorz/mdk/blob/master/mdk/commands/behat.py#L194

As a workaround, manually download the file and place it here:

echo $(mdk config show dirs.mdk)/selenium.jar
FMCorz commented 9 years ago

To fix this:

Consider using the NPM package for this (webdriver-manager), or rip off their code:

https://github.com/angular/protractor/blob/master/bin/webdriver-manager

mdjnelson commented 8 years ago

Why not simply change the URL in mdk?

FMCorz commented 8 years ago

I think it changes as it's a minified URL.

FMCorz commented 8 years ago

Fixed in #128.