Skip to main content

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:

  1. Docker:

    I think you have a docker environment already setup. if not you can follow.

    • fedora

      • 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>
      
    • ubuntu and others

  2. TigerVNC:

    • Fedora:
      sudo dnf install tigervnc
      
    • Other:

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 set then you need to run commands from integration_tests directory.
  • set-project-directory:
    cd `<path>/integration_tests`
    miqsel config
    # fallow options
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

miqsel-1.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

miqsel-1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file miqsel-1.1.tar.gz.

File metadata

  • Download URL: miqsel-1.1.tar.gz
  • Upload date:
  • Size: 5.3 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

Hashes for miqsel-1.1.tar.gz
Algorithm Hash digest
SHA256 6a580a1d9171b56d8eea3e3778d3ea02ec197cf12c08542492b6fedd1bfe08df
MD5 75a29ddfabfeb03b4ec04afacd088f7c
BLAKE2b-256 97ee301192bde7a37456ce623a1d2be7afcd60d02938cd90fe54461473068885

See more details on using hashes here.

File details

Details for the file miqsel-1.1-py3-none-any.whl.

File metadata

  • Download URL: miqsel-1.1-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

Hashes for miqsel-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4fb828b043207794d2c066abd136d43b65109ddb203d860f79ce1a3fd3b76e97
MD5 ce4e69b540e674db928dcd57fa1ac4b2
BLAKE2b-256 31bae28ea1b9da017c388c4a8108aef5466e1b920a24e38cecc9daf28d26a1b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page