Skip to content

Example of using godog in conjunction with selenium

Notifications You must be signed in to change notification settings

macox/go-selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-selenium

Uses

DATA-DOG Godog

Tebeka Selenium

Prerequisites

godog:

% go get github.com/DATA-DOG/godog/cmd/godog

selenium-server-standalone-3.4.0:

% wget "http://selenium-release.storage.googleapis.com/3.4/selenium-server-standalone-3.4.0.jar" 

tebeka/selenium

% go get github.com/tebeka/selenium

Firefox

geckodriver-v0.18.0-linux64.tar.gz:

% wget "https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz"
% tar -xvzf geckodriver-v0.18.0-linux64.tar.gz
% mv geckodriver geckodriver-v0.18.0-linux64
% chmod +x geckodriver-v0.18.0-linux64
% rm geckodriver-v0.18.0-linux64.tar.gz

firefox:

% apt-get install firefox

xvfb:

% apt-get install xvfb

Chrome:

chromium:

% apt-get install chromium-browser

chromeDriver:

% wget https://chromedriver.storage.googleapis.com/2.37/chromedriver_linux64.zip
% unzip chromedriver_*.zip
% mv chromedriver /usr/bin/chromedriver
% chmod a+x /usr/bin/chromedriver
% rm -rf chromedriver_*.zip

About

Example of using godog in conjunction with selenium

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published