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 hashes)
Built Distribution
Close
Hashes for selenium_async-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82ffc0d68795982c553af836a00c37d96c83eda0cd0f38f17a8b775d30c75129 |
|
MD5 | 5a668f4fc065257885a898a64f21fbf0 |
|
BLAKE2b-256 | 7afd37d8b4500261b376a82481ccf461899cc51d4b1d5b85abd884b310d3ae4c |