Skip to main content

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:

  1. 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.

  2. Do something like driver.set_page_load_timeout(300) if you have pages which take a while.

  3. Do something like driver.maximize_window() to make sure the window is big enough to “see” the page.

  4. 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).

Metadata

Release files for oxtest 0.1

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

Source distribution (sdist)

Source distribution for oxtest 0.1
File Size Uploaded
oxtest-0.1.tar.gz 8.2 kB Details

Release files / oxtest-0.1.tar.gz

Download URL oxtest-0.1.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
dde21b0877c0ead76cbacf8d1b35dd6485a4f92663b074d0c8ae673ed1e95ffa
BLAKE2b-256 checksum
How to use checksums
378652edaf27c71b8d16d9453a7f792837686745eef7cc7ac8be381b028f1714
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

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