Tools for testing with docker.
Project description
Introduction
Tools to help create dockerized tests in python.
Tips and Tricks
PhantomJS
PhantomJS is a great selenium driver. There are a few things you may want to keep in mind:
Use service_args=['--ignore-ssl-errors=true', '--ssl-protocol=any'] when creating the driver (e.g., driver = webdriver.PhantomJS(service_args=...)). This is helpful if you are doing tests and do not have proper SSL certificates installed.
Do something like driver.set_page_load_timeout(300) if you have pages which take a while.
Do something like driver.maximize_window() to make sure the window is big enough to “see” the page.
Make sure you have at least version 2 or things will be broken.
Installing can be a pain and you may have to do it manually (e.g., see this gist).
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
File details
Details for the file oxtest-0.1.tar.gz
.
File metadata
- Download URL: oxtest-0.1.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dde21b0877c0ead76cbacf8d1b35dd6485a4f92663b074d0c8ae673ed1e95ffa |
|
MD5 | ebda063b5e60a796f365965c627a6e5e |
|
BLAKE2b-256 | 378652edaf27c71b8d16d9453a7f792837686745eef7cc7ac8be381b028f1714 |