Miq Selenium Server for local testing
Project description
Miq Selenium Server
This is a simple script to make my life easy.
As I want to run selenium server locally but don't want to use wharf.
I don't want to check docker ip's and ports;
I want to overwrite to my env.ymal.
I want to select my browser with a single command.
Simple command line application should spin selenium docker container
and give me vnc access and solve my problems.
Prerequisite:
-
Docker:
I think you have a
dockerenvironment already setup. if not you can follow.-
- set repo
sudo dnf -y install dnf-plugins-core sudo dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo- Install
sudo dnf -y install docker-ce sudo systemctl start docker sudo systemctl enable docker- Non root-user
sudo usermod -aG docker <your-user-name>
-
-
TigerVNC:
- Fedora:
sudo dnf install tigervnc - Other:
- Fedora:
Installation:
pip install miqsel --user
or
pip install git+https://github.com/digitronik/miqsel#egg=miqsel --user
Usage:
Usage: miqsel [OPTIONS] COMMAND [ARGS]...
Options:
--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
- Note: If the project directory
not setthen you need to run commands fromintegration_testsdirectory.
- set-project-directory:
cd `<path>/integration_tests` miqsel config # fallow options
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file miqsel-1.0.tar.gz.
File metadata
- Download URL: miqsel-1.0.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce2550d08aff4c8b6d49e4d06d94aff8c88b134cf9644f95df19d1a610f2ee6e
|
|
| MD5 |
59e9944738a0f1ab07fce84058488f46
|
|
| BLAKE2b-256 |
b72fb0811c1e9210ffef81c0ed2d301636b9c8c70874fb9c33e8b7d340d534de
|
File details
Details for the file miqsel-1.0-py3-none-any.whl.
File metadata
- Download URL: miqsel-1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61ff41209128884cba219ac8bd99b13573cf4740756144c01f94c31800aaa573
|
|
| MD5 |
48636893d521e129c29a29ed888352dd
|
|
| BLAKE2b-256 |
983ce0c2b96c7b045ac39362e7dfe1366ad581413325969aa45a36a8c8154057
|