Pyasli
Simple selenium python wrapper
There are two ways to use browser:
Use default shared driver:
from pyasli.browsers import browser
browser.base_url = "https://the-internet.herokuapp.com"
browser.open("/disappearing_elements")
element1 = browser.element("div.example p")
assert element1.get_actual() is element1.get_actual(), "Element is found 2 times"
Use exact driver (can be used as context manager):
from pyasli.browsers import BrowserSession
with BrowserSession("chrome", base_url="https://the-internet.herokuapp.com") as browser:
browser.open("/disappearing_elements")
element1 = browser.element("div.example p")
assert element1.get_actual() is element1.get_actual(), "Element is found 2 times"
In case browser_instance is used as context manager, all browser windows will be closed at
exiting context
There is no documentation currently. For usage please refer to tests
Metadata
Release files for pyasli 0.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyasli-0.2.8.tar.gz | 11.1 kB | Without provenance | Details for pyasli-0.2.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyasli-0.2.8-py3-none-any.whl | Python 3 | none | any | Details for pyasli-0.2.8-py3-none-any.whl |
Total release size: 25.5 kB
Release files / pyasli-0.2.8.tar.gz
| Download URL | pyasli-0.2.8.tar.gz |
|---|---|
| Size | 11.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
010bd15e09953c28bb6a4eb18e64ef0da70fce7b8e11b6ff06b3fadff0804741
|
|
BLAKE2b-256 checksum How to use checksums |
07cf5a1be165f568ebe1c97ac26ed0cc9ff5f52b8ae214ca1f85b4a83b6296ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.6 Linux/5.15.0-1034-azure
|
Release files / pyasli-0.2.8-py3-none-any.whl
| Download URL | pyasli-0.2.8-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
adf2c62542ba20f07dc0951eece8ff083dc821115127cbd91cf948f782a4c239
|
|
BLAKE2b-256 checksum How to use checksums |
e4978be20ff57a22e027e045e7f7f44be61f9c933c223349a0d719c96f7c3ac8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.6 Linux/5.15.0-1034-azure
|
Security for pyasli 0.2.8
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.