Ubuntu: Install Selenium & ChromeDriver


Install required packages

sudo apt-get update
sudo apt-get install -y unzip xvfb libxi6 libgconf-2-4


Install Chrome

sudo curl -sS -o - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add
sudo echo "deb [arch=amd64]  http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list
sudo apt-get -y update
sudo apt-get -y install google-chrome-stable


Install ChromeDriver

wget https://chromedriver.storage.googleapis.com/2.41/chromedriver_linux64.zip
unzip chromedriver_linux64.zip


Ubuntu: Java JDK8 apt-get

  • https://tecadmin.net/install-oracle-java-8-ubuntu-via-ppa/

Java8 add repo, update, and install

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer


Set Java8 as Default

sudo apt-get install oracle-java8-set-default


Check Java Version

java -version

java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b12, mixed mode)



  • Seen this done through export, but so be it...
cat >> /etc/environment <<EOL

VirtualBox: Resize vdmk drive

  • Clone the vdmk image to vdi image
  • Resize
  • Clone back to vdmk

VBoxManage Commands

VBoxManage clonehd "source.vmdk" "cloned.vdi" --format vdi
VBoxManage modifyhd "cloned.vdi" --resize 51200
VBoxManage clonehd "cloned.vdi" "resized.vmdk" --format vmdk

The above will resize the hard disk up to 50GB (50 * 1024MB).


C:\Program Files\Oracle\VirtualBox>VBoxManage.exe clonehd "C:\a\v\vm\nodes.win7\
w7.devbox2018\W7.Admin.Free.1-disk1.vmdk" "w:\W7.Admin.Free.1-disk1.vdi" --forma
t vdi

DrupalTesting: Testing Ecosystem


Product Dev-Deploy-Test Environment Ecosystem

  • Placing the Test Product in its own Jenkins Pipeline & deploying to an environment that listens for test requests allows that Test Product to be used for multiple test products & targets
  • If the listener is further extracted from the test environment, multiple Test Drones can be on stand-by, waiting for Test Execution Requests on any environment
  • Test Drones can also be configured with Jenkins Slave Nodes that parse Test Requests for Test Drones with the required test environment.
  • This allows for scaling and flexibility with the Product Under Test.

Subscribe to