Selenium driver that posts to gab.
Project description
Gabposter
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.
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.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.0.0.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for open_webdriver-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 932ae78472e89c3141855212aad87b380852e53e1d83149306ff63b551bc4f5b |
|
MD5 | f1291c614d729926202356f518bb5521 |
|
BLAKE2b-256 | 06dbf8d6e00e924b75598d181290d937e79442a6811addb8e19ca82ce99a0367 |