aisingapore / TagUI

Free RPA tool by AI Singapore

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Run TagUI on the phone or cloud with Google Colab

kensoh opened this issue · comments

This might not work now with latest Ubuntu OS used by Colab. The notebook for RPA for Python project is already updated
https://colab.research.google.com/drive/1or8DtXZP8ZxJYK52me0dA6O9A1dXKKOE?usp=sharing


These Colab notebooks have been upgraded to using virtual display instead of headless mode. This opens up usage on a broader range of websites as some will block headless browsers. TagUI Colab demo - https://youtu.be/XA7gXOv98hs

Anyone can open this Colab URL on their browser or phone and be able to run TagUI workflows on the cloud -
https://colab.research.google.com/drive/1RimeT6-u6_nCyLAFJ0Aq9OvRaEg2UPrg?usp=sharing

For RPA for Python users (the Python version of TagUI), use this Colab notebook to try out RPA in Python -
https://colab.research.google.com/drive/13bQO6G_hzE1teX35a3NZ4T5K-ICFFdB5?usp=sharing

For reference, the 4 Colab lines mentioned for POC v1 are -

# setup RPA environment by installing PHP, Chromium web browser and TagUI Linux version
!apt-get update; apt install php; apt install chromium-browser; wget https://github.com/kelaberetiv/TagUI/releases/download/v6.14.0/TagUI_Linux.zip; unzip TagUI_Linux.zip; cd tagui/src; wget -O tagui https://gist.githubusercontent.com/kensoh/b12a350513268df5456165180dbee6a6/raw/0947f8d53d5744eb7c51ba0a06448fc8b33b06ab/tagui

# run sample GitHub workflow showing license for TagUI project and downloading source code
!tagui/src/tagui https://raw.githubusercontent.com/kelaberetiv/TagUI/master/flows/samples/2_github.tag -headless

# validate that the downloaded source code zip file exists and show the file's properties
!ls -l TagUI-master.zip

# [OPTIONAL] with Chrome browser you can download RPA output files to computer or phone
from google.colab import files; files.download('TagUI-master.zip')

updated TagUI on the cloud (Colab notebook) to v6.53

Updated to v.6.68 and also, upgrade to using a virtual display instead of headless mode.

This opens up usage on a broader range of websites as some will block headless browsers.