Skip to main content

Python package which enables GUI automation for all type of applications.

Project description

Introduction

locator ref
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

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

Contact

Email: clicknium@clicknium.com

Project details


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

clicknium-0.2.5-py3-none-win_amd64.whl (39.0 MB view details)

Uploaded Python 3Windows x86-64

clicknium-0.2.5-py3-none-win32.whl (30.3 MB view details)

Uploaded Python 3Windows x86

File details

Details for the file clicknium-0.2.5-py3-none-win_amd64.whl.

File metadata

  • Download URL: clicknium-0.2.5-py3-none-win_amd64.whl
  • Upload date:
  • Size: 39.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for clicknium-0.2.5-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 574f82211338e72511e1bd4ef9bc6ef9100ed78f433648958ed06aea2ae50285
MD5 a4c7d238f95df24699e69a865c0c7f4d
BLAKE2b-256 90a6f43fc0e3f18cfeee836abd807a9e5fa328c5f4208911c3154a97985df075

See more details on using hashes here.

File details

Details for the file clicknium-0.2.5-py3-none-win32.whl.

File metadata

  • Download URL: clicknium-0.2.5-py3-none-win32.whl
  • Upload date:
  • Size: 30.3 MB
  • Tags: Python 3, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.5

File hashes

Hashes for clicknium-0.2.5-py3-none-win32.whl
Algorithm Hash digest
SHA256 849d5e51cdfc83c96cb41d69e49d36679da9de835afeb6a330a6f380db1476f1
MD5 454ea7be6edb9c1b52f2446963d52fea
BLAKE2b-256 c1d69387c2a19b954667e7fb13803c60692de708546600899a461d4ba55ed829

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page