Alumnium
End-to-End Testing Harness
Installation
·
Quick Start
·
Documentation
Alumnium is an experimental project that builds upon the existing test automation ecosystem, offering a higher-level abstraction for testing. It simplifies interactions with applications and provides more robust mechanisms for verifying assertions. It works with Appium, Playwright, or Selenium.
## Installation
```bash
pip install alumnium
```
## Quick Start
```python
import os
from alumnium import Alumni
from selenium.webdriver import Chrome
os.environ["OPENAI_API_KEY"] = "..."
driver = Chrome()
driver.get("https://search.brave.com")
al = Alumni(driver)
al.do("type 'selenium' into the search field, then press 'Enter'")
al.check("page title contains selenium")
al.check("search results contain selenium.dev")
assert al.get("atomic number") == 34
al.quit()
```
Check out [documentation][1] and more [examples][2]!
## Contributing
See the [contributing guidelines][4] for information on how to get involved in the project and develop locally.
[1]: https://alumnium.ai/docs/
[2]: https://github.com/alumnium-hq/alumnium/tree/main/packages/python/examples/
[3]: https://alumnium.ai/docs/getting-started/configuration/
[4]: https://github.com/alumnium-hq/alumnium/tree/main/CONTRIBUTING.md
[5]: https://www.lambdatest.com/