Skip to main content

Bromine is a high-level web testing Python library based on Selenium and PageObject Pattern.

It's purpose is to provide a conceptual framework to model the system under test.

To write actual tests you'll keep using your testing framework of choice.

Bromine focuses on end-to-end tests: it relies on Selenium to exercise a real system, not to simulate it.

While Selenium serves as the essential foundation enabling end-to-end testing, WebDriver alone offers too low a level of abstraction.
When we describe some behaviour that our system must exhibit, we usually think about how users interact with the UI and how this one is expected to respond to those interactions. We do not think about the browser as the main actor, but indeed as part of the application. In the context of Object-Oriented Programming, as developers we tend to reason in terms of UI objects interacting with the user or with other parts of the system.
Given this perspective shift, Bromine adopts PageObject Pattern as its cornerstone.

The three basic building blocks of Bromine's conceptual model are WebApplication, WebPage and WebElement.

WebElements are responsible for locating and automatically refreshing themselves relieving the programmer of the burden of explicitly handling Selenium's StaleElementExceptions.

Metadata

Release files for bromine 0.4.0

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

Built distribution (wheel)

Table of built distributions (wheels) for bromine 0.4.0
File Interpreter ABI Platform
bromine-0.4.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / bromine-0.4.0-py2.py3-none-any.whl

Download URL bromine-0.4.0-py2.py3-none-any.whl
Size 19.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
88792a4820ecff516eb634e22c027fc74641769203ed5899eba2fed8a398069b
BLAKE2b-256 checksum
How to use checksums
89f96abea47295f9ea0ebcec59d12b38f0daca1b96246fa504a8f80b7f5c74d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Security for bromine 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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