Miq Selenium Server for local testing
Project description
miqsel
Miq Selenium Server
Simple command line application to spin selenium container and provide vnc
access.
Prerequisite:
-
Podman/Docker:
Make sure
podman
ordocker
running on your system. -
VNC Viewer:
You can choose any vnc viewer but most of user used tigervnc.
- Fedora:
sudo dnf install tigervnc
- TigerVNC link for other Distro's
- Fedora:
Installation:
pip install miqsel --user
or
pip install git+https://github.com/digitronik/miqsel#egg=miqsel --user
Usage:
❯❯❯ miqsel --help
Usage: miqsel [OPTIONS] COMMAND [ARGS]...
Miq Selenium Server
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
appliance Appliance
browser Set Browser
config Configure Miq Selenium Server
executor Selenium executor URL
start Start Selenium Server
status Status of Selenium Server
stop Stop Selenium Server
viewer VNC viewer
vnc VNC URL
-
Configuration: If the project directory
not set
thenmiqsel
need to run fromintegration_tests
project directory. It will help to manageenv.local.yaml
.❯❯❯ miqsel config Miq project working dir: /home/.../integration_tests
-
Status: Check status of selenium container (running/ stopped).
❯❯❯ miqsel status stopped
-
Start/Stop: The start will set command executor in
env.local.yaml
and providevnc
access.❯❯❯ miqsel start Selenium Server started TigerVNC Viewer 64-bit v1.9.0 ❯❯❯ miqsel stop Sun Apr 28 12:29:02 2019 CConn: End of stream Selenium Server stopped
-
Appliance: Check current appliance or set new.
❯❯❯ miqsel appliance ❯❯❯ miqsel appliance -s 192.168.1.1 Appliance set to 192.168.1.1 ❯❯❯ miqsel appliance 192.168.1.1
-
Browser: Check current browser or set other.
❯❯❯ miqsel browser chrome ❯❯❯ miqsel browser --firefox Browser set to firefox ❯❯❯ miqsel browser firefox
-
Viewer: Take
vnc
access of selenium server. At the start of selenium server, vnc viewer will beinvoked
automatically. If thestatus
isrunning
and theviewer
isclose
then viewer command will help to re-open vnc session.❯❯❯ miqsel status running ❯❯❯ miqsel viewer TigerVNC Viewer 64-bit v1.9.0
-
Executor: Get command executor url
❯❯❯ miqsel executor http://172.17.0.2:4444/wd/hub
-
VNC: Get vnc session url
❯❯❯ miqsel vnc 172.17.0.2:5999
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file miqsel-3.0.tar.gz
.
File metadata
- Download URL: miqsel-3.0.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f66cb2469f5d2d3b7831dadfbc163e5886bccad18b29cab8b253b677aea71ee4 |
|
MD5 | 5f001e354e07f3bb03402a6105408a2c |
|
BLAKE2b-256 | efc607a8f41afb8b97268b08ccc05344ff04a6284e3e99c1ad527f6c1906e134 |
File details
Details for the file miqsel-3.0-py3-none-any.whl
.
File metadata
- Download URL: miqsel-3.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d48e26598aabb57f21bca7db5e52159d7933a0dd1b40c025c255437e50b540e |
|
MD5 | f1d9c53d839c3d683f5d1eff8018575f |
|
BLAKE2b-256 | 5ca5887ecb2672db953ad6dd4f021f62524b14711dd4683cb8cbc7d6ce00a435 |