Python package which enables GUI automation for all type of applications.
Project description
Introduction
Clicknium Python package provides methods to automate various types of applications in Windows, such as Web browsers, Windows Desktop applications, Java applications and SAP Windows GUI app, etc.
- No need to learn XPath or selector knowledge in advance;
- Capture UI locators by just clicking UI controls with VS Code extension;
- Same API for web and desktop applications;
Install Clicknium Visual Studio Code Extension to start automation with Clicknium Python package now.
Examples
- Web browser Automation. visit Quick start and learn how to capture locators in Visual Studio Code.
from clicknium import clicknium as cc, locator, ui
tab = cc.edge.open("https://www.bing.com/")
tab.find_element(locator.new_store.bing.search_sb_form_q).set_text('clicknium')
tab.find_element(locator.new_store.bing.svg).click()
result_elements = tab.find_elements(locator.new_store.bing.a_search_result)
for elem in result_elements:
print(elem.get_text())
elem.highlight(duration=1)
tab.close()
- Automate 'notepad' on Windows using the same way with web browser:
from clicknium import clicknium as cc, locator, ui
import subprocess
process = subprocess.Popen("notepad")
ui(locator.new_store.notepad.document_15).set_text("clicknium")
ui(locator.new_store.notepad.document_15).clear_text('set-text')
process.kill()
More
- Documentation : Learn everything about Clicknium
- API Reference : Learn the Python APIs
- Explore more in Clicknium.com
- More samples in GitHub
Contact
Email: clicknium@clicknium.com
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 Distributions
No source distribution files available for this release.
See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for clicknium-0.1.14-py3-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cf68eab594c148f8075fb25d156d43d21a7f913cc24bb204e60cd297127a2b8 |
|
MD5 | dead0fed9550d0633e491389736a705b |
|
BLAKE2b-256 | 07730b478eced503ef79b375eb84590da2baa9e38375c87f8b93d2349fb614f0 |
Close
Hashes for clicknium-0.1.14-py3-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d7812d2eaa254a9e9d9c255b947eca4886d2c263ab2697335e0a6fe505539dc |
|
MD5 | 5a129c429697b397354005e160ff8e66 |
|
BLAKE2b-256 | 98cbadceec022bce479fe5e3c70e48e37e6868b8cd5b2e7a7bc982f9db047b34 |