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.2-py3-none-win_amd64.whl (38.9 MB view hashes)

Uploaded py3

clicknium-0.2.2-py3-none-win32.whl (30.2 MB view hashes)

Uploaded py3

Supported by

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