<div dir="ltr"><div><div><div><div><div><div>chromedriver is a standalone server that is needed to use chrome/chromium browser for automated tests with selenium (<a href="http://seleniumhq.org">seleniumhq.org</a>) testing framework<br>
<br></div>cons: chromedriver isn't required for using chromium for regular web browsing, having it in the chromium package will bloat the package a bit<br><br>pros:<br><br></div>- chromedriver is available as precompiled binaries from <a href="http://code.google.com/p/chromedriver/downloads/list">http://code.google.com/p/chromedriver/downloads/list</a>, yet there are misc issues like it not working on systems with a different glibc version (this is true for debian wheezy, not related to slackware, but provided for context), or incompatibility with chromium due to version mismatches (the latest chromedriver official linux binary doesn't work with chromium package from SBo because that version of chromium is too old, yet an older version official linux binary works). having a chromedriver binary compiled from the same source (since its source code is part of chromium) and bundled it in the slackware package will exclude all those problems<br>
<br></div>- there will be no need to recompile a lot of sources (chromium is heavier than the average application) for building chromedriver as another package<br><br></div>- changes needed to be made to the SBo buildscript for chromium aren't big (this worked for me in Slackware64-14.0)<br>
<br></div>---- snip ----<br>--- chromium.SlackBuild.old    2013-09-28 14:57:39.739962762 +0300<br>+++ chromium.SlackBuild    2013-09-28 21:15:47.397401614 +0300<br>@@ -112,7 +112,7 @@<br>  -Drelease_extra_cflags="$CFLAGS" \<br>
  $DDSSE<br> <br>-make chrome chrome_sandbox BUILDTYPE=Release V=1<br>+make chrome chrome_sandbox chromedriver BUILDTYPE=Release V=1<br> <br> # Creating the package<br> cd out/Release/<br>@@ -120,6 +120,7 @@<br>   mkdir -p $PKG/usr/bin<br>
   install -m 0755 -D chrome $PKG/usr/lib${LIBDIRSUFFIX}/chromium<br>   install -m 4555 -o root -g root -D chrome_sandbox $PKG/usr/lib${LIBDIRSUFFIX}/chromium<br>+  install -m 0755 -D chromedriver $PKG/usr/lib${LIBDIRSUFFIX}/chromium<br>
   install -m 0755 -D libffmpegsumo.so $PKG/usr/lib${LIBDIRSUFFIX}/chromium<br>   cp *.pak $PKG/usr/lib${LIBDIRSUFFIX}/chromium<br>   cp -a locales/ $PKG/usr/lib${LIBDIRSUFFIX}/chromium<br>@@ -146,6 +147,7 @@<br> cd $PKG<br>
   ln -s /usr/lib${LIBDIRSUFFIX}/chromium/chrome $PKG/usr/bin/chrome<br>   ln -s /usr/lib${LIBDIRSUFFIX}/chromium/chrome_sandbox $PKG/usr/bin/chrome_sandbox<br>+  ln -s /usr/lib${LIBDIRSUFFIX}/chromium/chromedriver $PKG/usr/bin/chromedriver<br>
 <br> cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild<br>---- snip ----<br><br></div>This is not a request of taking ownership over the chromium slackbuild (the email address of the current maintainer seems to be invalid, so there are chances the buildscript is abandoned). I am just providing feedback after struggling for a few days with getting chromedriver to work painlessly in Slackware, hoping it may be useful to others.<br>
</div>