Simple command line application to spin selenium docker container
and provide vnc
access.
-
Docker:
For setting
docker
environment follow below steps:-
- Set Repository:
sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
- Install below packages:
sudo dnf -y install docker-ce sudo systemctl start docker sudo systemctl enable docker
- Run docker with non-root User:
sudo usermod -aG docker <non-root-user>
-
-
TigerVNC Versions(based on various Distro's):
- Fedora:
sudo dnf install tigervnc
- TigerVNC link for other Distro's
- Fedora:
pip install miqsel --user
or
pip install git+https://github.com/digitronik/miqsel#egg=miqsel --user
Usage: miqsel [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
browser Set Browser
config Configure Miq Selenium webdriver
hostname Miq Selenium Server Hostname
start Start Miq Selenium Server
status Status of Miq Selenium Server
stop Stop Miq Selenium Server
urls VNC and Command Executor URL's
viewer VNC viewer
- Note: If the project directory
not set
then you need to run commands fromintegration_tests
directory.
- set-project-directory:
cd `<path>/integration_tests` miqsel config # follow options