Skip to main content

Selenium driver that posts to gab.

Project description

Gabposter

Actions Status Actions Status Actions Status

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.0.2: Now uses pinned
  • 1.0.0: Initial code submit

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

open_webdriver-1.0.2.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

open_webdriver-1.0.2-py2.py3-none-any.whl (4.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file open_webdriver-1.0.2.tar.gz.

File metadata

  • Download URL: open_webdriver-1.0.2.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for open_webdriver-1.0.2.tar.gz
Algorithm Hash digest
SHA256 e3b8f7eb71db46f36b287bc01c268ec945d20995218cd0d12fb80b24de8357dc
MD5 af852a439601797255689e125ce36d9f
BLAKE2b-256 9fdfa7fa96939edd9f084d3ec9112c72f493ecc8d91ec1e110568dd9cf66167d

See more details on using hashes here.

File details

Details for the file open_webdriver-1.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for open_webdriver-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2c631c7bf02e583926acf2cdc06b8f4b1de776cd8f56624b0f357179024fff56
MD5 8763462f263f8e9abc161bd07be10a54
BLAKE2b-256 756b4da8a850e7da637efa0c5ab0dcb5cac546608c1526019f93f69e99c040b5

See more details on using hashes here.

Supported by

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