Skip to main content

Autotet.Web

selenium based infrastructure for web automation tests

basic usage

from izSelenium import get_driver, Selector, By

# get izWebdriver
driver = get_driver('google') # now izSelenium saved a driver instance with an alias 'google'
gmail_driver = get_driver('gmail-driver') # this is another driver session: another window. 


# to seperate logic from html, we use an object called 'selector' to select elements on a web page. 
s_search_input = Selector(By.CSS_SELECTOR, f"form input[title='{SEARCH_TITLE}']")

# it's recomended to actually search for elements in a dedicated function
def search_input():
    return driver.find(s_search_input)

# izWebDriver has all webdriver functions and some more
keep_driver.get(KEEP_URL)

driver.get(r"http://www.google.com")
# izSelenium actions, like following 'send_keys', use restries and fix-actions - such as trying to set value with JS in case of failure
search_input().send_keys("i know how to automate") 

Release files for izSelenium 1.0.0

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

Source distribution (sdist)

Source distribution for izSelenium 1.0.0
File Size Uploaded
izSelenium-1.0.0.tar.gz 10.0 kB Details

Release files / izSelenium-1.0.0.tar.gz

Download URL izSelenium-1.0.0.tar.gz
Size 10.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b63f7dfe793865648e84ca173da474827d5da7214067e195102c47b02223afb0
BLAKE2b-256 checksum
How to use checksums
877671307473bb9af054b4e78ef3923faca7f7b5e95c935680c4c8617d3ad381
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.1

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

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