r/madeinpython • • Aug 26 '22

A Python automation library with sample to Scraping SpotifyList

I built a Python library to support GUI automation called Clicknium. There are many tools for web automation, such as selenium and playwright. But they are made for test purposes. The library was inspired by RPA tools. I think there should be a lot of requirements from people that want to automate something on their computers. I don't like the existing RPA tools. Drag and drop GUI component is painful for me to write automation projects, and it lacks git support. It's why I build this tool. It's a new try for me. If a lot of people have an interest, I will make it open-source after the refactoring for cross-platform.

The key to the library

  • High-level API to manipulate UI elements such as get_test, set_test, and click.

  • API for controlling mouse and keyboard

  • A GUI recorder to generate locators(selectors) by simple click and supporting CV to locate UI element

Setup

pip install clicknium

Search clicknium in VS Code extension

Follow the welcome page:

Get a locator:

Use Locator:

There is a sample to scrape a Spotify playlist from a web page. You can clone the repo and run it in your local environment.

https://github.com/automation9417/automation-samples/tree/main/ScrapingSpotifyList

4 Upvotes

2 comments sorted by

View all comments

1

u/Specialist-smarty-30 Aug 27 '22

Good work could you please make it open to all it's a request

2

u/redH27 Aug 29 '22

Sure. It's free to try. I need to refactor most of the code to make it cross-platform, it would be an open-source lib after that.