-
Install Selenium Server from AUR
pacaur -S selenium-server-standalone
-
Install Gecko and Chrome Webdrivers
pacaur -S geckodriver pacaur -S chromedriver
-
Change Java environment to Java 8
archlinux-java set java-8-openjdk/jre
-
Install as a service
cat <<EOT >> /etc/systemd/system/selenium.service
[Unit] Description=Selenium Standalone Server [Service] Environment=DISPLAY=:44 Type=simple ExecStart=/usr/bin/java -jar /usr/share/selenium-server/selenium-server-standalone.jar KillMode=process User=nobody [Install] WantedBy=multi-user.target EOT
systemctl --system daemon-reload systemctl enable selenium systemctl start selenium
-
Obey the Goat!
(\\ .--,\\\__ `-. a`-.__ | ') / \ _.-'-,`; / | { / ..-"``~"-' ; ) ;' ` ;' ;' , /;'| ,;';\ |\ | \ || | | )| ) | || | jgs | \| \ `##`##
Installing Selenium Standalone Server on Arch Linux
Published: