Skip to main content

Selenium driver that posts to gab.

Project description

open-webdriver

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.4: Now pins dependencies.
  • 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.4.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

open_webdriver-1.0.4-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.4.tar.gz.

File metadata

  • Download URL: open_webdriver-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 d23fc061354ecf9a962bc63e607279df89e111e4ffe14e6ba2379c7432e0bbd3
MD5 406f1eb0134001c4917121f1a0e05026
BLAKE2b-256 e3bda6262b02734d4b8cf44bd5cb5165c7e01d163f02c0c963dd432ec9518e99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for open_webdriver-1.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 aedb379867e39d45eb9071a3127ed94a7e52458694e526e7b9a776ee2480479e
MD5 50155798ee26d34300483dd72c356ef8
BLAKE2b-256 3b0e1430acfcf3efcd3cb5eadd2b41558d25f2ca60a6733963921becd796c46c

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