Wrapper for Selenium to make it easy, with asyncio support!
Project description
selenium-async
Make Selenium easy to by managing a browser pool, and asyncio compatibility!
- Source: https://github.com/munro/python-selenium-async
- Documentation: https://selenium-async.readthedocs.io/en/latest/
install
poetry add selenium-async
usage
import selenium_async
def get_title(driver: selenium_async.WebDriver):
driver.get("https://www.python.org/")
return driver.title
print(await selenium_async.run_sync(get_title))
# prints: Welcome to Python.org
license
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
selenium-async-0.1.0.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file selenium-async-0.1.0.tar.gz.
File metadata
- Download URL: selenium-async-0.1.0.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61f0044922bb0a6de4287cd46cf14a61d4cf975f9e0c1c22c1e51efdeca77bb6
|
|
| MD5 |
7a2d5a66a4ecffd525707f3afcfe3e38
|
|
| BLAKE2b-256 |
20cce4d2b33a89087e7610b7a6f6c60dee4c4c4b767767a999a84ec193d0905f
|
File details
Details for the file selenium_async-0.1.0-py3-none-any.whl.
File metadata
- Download URL: selenium_async-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.2 Darwin/21.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82ffc0d68795982c553af836a00c37d96c83eda0cd0f38f17a8b775d30c75129
|
|
| MD5 |
5a668f4fc065257885a898a64f21fbf0
|
|
| BLAKE2b-256 |
7afd37d8b4500261b376a82481ccf461899cc51d4b1d5b85abd884b310d3ae4c
|