Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Alpha Version

PyWizardLite

PyWizardLite is a python script that automates the process of downloading the suitable version of chrome driver for the chrome version installed on the machine. It also has the functionality to generate the xpath of an element on a webpage using the text of the element and the it will wait for the element to be visible.

Requirements

Modules - selenium, requests

python -m pip install selenium requests

Installation

python -m pip install pywizardlite

Usage

from pywizardlite import PyWizardLite

# Download suitable version of chrome driver for the chrome version installed on the machine
PyWizardLite().setup_chrome_web_driver(
    proxy_url = "https://proxy.com:8080"
)


# Generate XPath of an element using String
xpath = PyWizardLite().generate_string_xpath(
    driver = driver, text = "Some Text"
)
print(xpath)
# Output could be //*[@id="some_id"] or None


# Wait for an element to be visible
PyWizardLite().wait_until_element_is_visible(
    driver = driver, element_by = "ID", element = "some_id"
)

Metadata

Release files for PyWizardLite 0.0.8

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

Source distribution (sdist)

Source distribution for PyWizardLite 0.0.8
File Size Uploaded
PyWizardLite-0.0.8.tar.gz 17.9 kB Details

Release files / PyWizardLite-0.0.8.tar.gz

Download URL PyWizardLite-0.0.8.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2c2fc39c781e22cf07993bb0024a66bc897d7d9039e5227c358be6bc97ef57fc
BLAKE2b-256 checksum
How to use checksums
57774d72492b4abb1ec5a25e2ad4d1f205b501ceb3d094ea0215dcb4298054d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.0.8 This release

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

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