Skip to main content

miqsel

Miq Selenium Server

Python Versions Build Status License: GPLV3 PyPI version Downloads Code style: black

miqsel is a Python CLI utility leaveraging a Selenium container image to efficiently manage a selenium server and provide vnc access.

Prerequisite:

  1. Podman/Docker:

    Make sure podman or docker running on your system.

  2. VNC Viewer:

    You can choose any vnc viewer but most of user used tigervnc.

Installation:

pip install miqsel --user

or

 pip install git+https://github.com/digitronik/miqsel#egg=miqsel --user

Usage:

  • Help:

    ❯❯❯ miqsel --help
    Usage: miqsel [OPTIONS] COMMAND [ARGS]...
    
      Miq Selenium Server
    
    Options:
      --version  Show the version and exit.
      --help     Show this message and exit.
    
    Commands:
      config    Set Configuration
      executor  Selenium executor URL
      start     Start Selenium Server
      status    Status of Selenium Server
      stop      Stop Selenium Server
      viewer    VNC viewer
      vnc       VNC URL
    
  • Status: Check status of selenium container (running/ stopped).

    ❯❯❯ miqsel status
    stopped
    
  • Start/Stop:

    ❯❯❯ 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
    

    Note: start default invoke vnc-viewer. You can stop it like miqsel start --no-viewer

  • Viewer: Take vnc access of selenium server. At the start of selenium server, vnc viewer will be invoked automatically. If the status is running and the viewer is close 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
    
  • Configuration: Manage your miqsel configuration and change default setting as per need.

    ❯❯❯ miqsel config
    Container Engine (auto, podman, docker) [auto]:
    Selenium container image [selenium/standalone-chrome:latest]:
    VNC viewer (auto, vncviewer, vinagre, xdg-open) [auto]:
    Selenium server running on port? [4444]:
    VNC running on port? [5999]:
    Selenium container name [miqsel_container]:
    Selenium container network [default]:
    Selenium container shared Memory [2g]:
    Testing data mount to directory '/data' [default]:
    Configuration saved successfully...
    

    selenium/standalone-chrome:latest is default image. You can use other from SeleniumHQ or custom images.

Metadata

Release files for miqsel 3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for miqsel 3.3
File Size Uploaded
miqsel-3.3.tar.gz 8.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for miqsel 3.3
File Interpreter ABI Platform
miqsel-3.3-py3-none-any.whl Python 3 none any Details

Total release size: 15.6 kB

Release files / miqsel-3.3.tar.gz

Download URL miqsel-3.3.tar.gz
Size 8.7 kB
Tags Source
SHA-256 checksum
How to use checksums
5227e3c31d748611e96eb19fa1739a97634e8766d44312be20b793306f466d63
BLAKE2b-256 checksum
How to use checksums
4df8ea30f954dab48b1c00a9e711c71a214b52e4469ec3dfad6faef9a656ecd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release files / miqsel-3.3-py3-none-any.whl

Download URL miqsel-3.3-py3-none-any.whl
Size 6.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8776e9da1f0b46c2cd9bfddf6c0c212a09fce576365a30051939c5980709a4b
BLAKE2b-256 checksum
How to use checksums
5197aa885000944b4a86c52dc71b0adcc5c5dfbf2e90eaf9ccaa90e57e1e44d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.18

Release history Release notifications | RSS feed

This release

3.3 This release

2 release files

3.1

2 release files

3.0

2 release files

2.3

2 release files

2.2

2 release files

2.1

1 release file

2.0

2 release files

1.4

2 release files

1.3

2 release files

1.2

2 release files

1.1

2 release files

1.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page