selenium-server-standalone icon indicating copy to clipboard operation
selenium-server-standalone copied to clipboard

Include ChromeDriver

Open DavertMik opened this issue 8 years ago • 7 comments

Currently Selenium is usually not enough to launch tests as it may require ChromeDriver or GeckoDriver to work on. Would it be possible for this project to include ChromeDriver as well?

DavertMik avatar Apr 12 '17 21:04 DavertMik

I don't think this is within the scope of this project; it doesn't make sense to bundle any browser-specific driver within. I understand from a convenience point of view, but it would make understanding the release schedules pretty hectic. Which driver(s) would we bundle? Why? How often are they updated (and, by proxy, how often would we have to release). Seems like an unnecessary maintenance burden to me...

asgrim avatar Apr 12 '17 21:04 asgrim

I was just looking to something similar to https://www.npmjs.com/package/selenium-standalone and I didn't find any good library in PHP except this one :+1: It would be cool if there was a way for newbies to launch selenium without pain by installing just a single package. Something similar to what Laravel Dusk does.


As for maintenance I think it can be done with a simple PHP script:

  • check for updates
  • download new binaries
  • run basic tests
  • make PR

DavertMik avatar Apr 12 '17 21:04 DavertMik

Something to download the latest driver could be workable, yeah. But I wouldn't bundle the binaries in this repo (as the JAR already is). :+1:

asgrim avatar Apr 12 '17 21:04 asgrim

Possible solution:

  1. install laravel/dusk,
  2. copy chromedriver out of it
  3. remove laravel dusk
  4. PROFIT :rofl:

DavertMik avatar Apr 12 '17 22:04 DavertMik

There could be additional repositories/packages setup to handle this. selenium-driver-chrome, selenium-driver-firefox, ....

We could add them as suggested packages via composer.

sveneisenschmidt avatar Apr 15 '17 08:04 sveneisenschmidt

Btw there is already an initiative from Joomla you know about. https://github.com/joomla-projects/selenium-server-standalone

Did you have a chance to get more steps into merging the forces?

DavertMik avatar Oct 20 '17 19:10 DavertMik

@DavertMik I am open to pursue this further. Thanks for the little push. https://github.com/joomla-projects/selenium-server-standalone/issues/25

sveneisenschmidt avatar Oct 20 '17 20:10 sveneisenschmidt