Selenium driver that posts to gab.
Project description
open-webdriver
Platform Unit Tests
Platform binary nuitka build
About
The simplest and most production-ready selenium webdriver wrapper API in python.
All the other api-wrappers are under tested and break as soon as they are thrown into a headless production server. This project aims to make something that's easy to develop and safe.
Benefits:
- Production ready. Cross platform tests.
- ssl certs are turned off to reduce errors for many websites.
- Downloading the proper binary for your platform and stashing it next to the app.
- Headless by default.
- Intelligently forces headless in a linux environment without a display card (prevents crash).
- Platform tests to ensure a stable cross platform experience.
- Pins to a specific version of selenium driver stack to ensure reproducable behavior.
Install
python -m pip install open-webdriver
Api
from open_webdriver import open_webdriver
with open_webdriver() as driver:
driver.get("https://www.google.com")
assert driver.title == "Google"
Tests
Just simply run tox
at the command line and everything should be tested. You may need to install tox
with python -m pip tox
.
Changes
- 1.1.0: Platform binary builds using nuitka are now tested.
- 1.0.4: Now pins dependencies.
- 1.0.0: Initial code submit.
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
open_webdriver-1.1.0.tar.gz
(4.8 kB
view details)
Built Distribution
File details
Details for the file open_webdriver-1.1.0.tar.gz
.
File metadata
- Download URL: open_webdriver-1.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 050ca65ae72df80614eb60fa784ad14f66341d386ddbab65ce59c220068eac6a |
|
MD5 | 670294247833c1642cc882eb18a3569e |
|
BLAKE2b-256 | 49d702452584f3cb44614c989ea387b2a758f8ef4392bcd8a4b9cb41b923b7f5 |
File details
Details for the file open_webdriver-1.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: open_webdriver-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1438682f1aad3952c6ff3541c769258aa8c258933314fc5468c8bed1083d3d4 |
|
MD5 | c37dacfd385469893e2de7be0c38e664 |
|
BLAKE2b-256 | 457a8b02ef6c48d40e7638dfbba81eff36e888f966c130de7d5716392b180a41 |