Skip to content

Pro Functions

NzBernadine edited this page Feb 10, 2022 · 4 revisions

Pro Functions Blocks

Telegram

Sends a Telegram notification, for example, to update on automation completion or exception.
First, message @taguibot to authorise it to send messages to your Telegram.
The id can be an integer or a string.
image

Keyboard Key

Enters keystrokes directly
image

Mouse move

Explicitly sends a mouse event at the current mouse position.
image

Wait

This following block explicitly waits for some time.
The default time is 5 second
wait_snip

Create CSV & upload website

  1. Saves table data to a CSV file, based on the table number on the webpage or its XPath identifier.
  2. Uploads file to a website, the element identifier(first input) can only be a CSS.
    image

Download & unzip & set web frame

  1. download from URL to file
  2. unzip the zip file to the specified location
  3. set web frame
    the filename to save and subframe(second input) are optional.
    if destination file omits, download and unzip into the current folder. r.download('http://rpachallenge.com/assets/downloadFiles/challenge.xlsx')

download_snip

Popup

The following block set the context to the web popup tab.
Empty input reset to the main page.
popup

Run in cmd prompt & run dom

OS command: Runs a command in Command Prompt or Terminal and return the output
code in Dom: Runs a JS code in the browser dom and saves returned value
The box allows you to choose which command you want to perform
image

Run Python

Runs Sikuli code.
the input is a Python code for SikuliX
image

Timeout

Changes the auto-wait timeout when waiting for web elements to appear. The default time is 10 seconds.
A blank input returns the current timeout
timeout_snip