Pages

Tuesday, December 22, 2020

managed to get TagUI to work on Mac

I placed a copy on my desktop so the path is /Users/lookang/Desktop/


$ tagui /Users/lookang/Desktop/tagui/flows/samples/1_google.tag



https://makerspace.aisingapore.org/do-ai/tagui/


How It Works

TagUI converts your intentions in different human languages into lines of working JavaScript code that perform UI automation. Under the hood, it uses:
Chrome DevTools Protocol
Sikuli
CasperJS
PhantomJS
SlimerJS

Installation for macOS/Linux


Download TagUI v6.14 (macOS, Linux).
Unzip the contents to your desktop on macOS, or /home/your_userid on Linux.
Install OpenJDK (macOS, Linux).
Install Chrome.
Open Terminal.
Copy, paste and run these commands, replacing your_tagui_path as needed:
ln -sf /your_tagui_path/tagui/src/tagui /usr/local/bin/tagui 

tagui /your_tagui_path/tagui/flows/samples/1_google.tag


You have run your first TagUI flow! 🎉

Having problems?


Troubleshooting macOS/Linux Setup
If you see dyld: Library not loaded: install OpenSSL in this way. macOS Catalina update has introduced tighter security controls, see solutions for the PhantomJS and Java popups.

$ brew install rbenv/tap/openssl@1.0 ln -sfn /usr/local/Cellar/openssl@1.0/1.0.2t /usr/local/opt/openssl


it should work now on a mac


To make Tagui command work everywhere

$ ln -sf //Users/lookang/Desktop/tagui/src/tagui /usr/local/bin/tagui

No comments:

Post a Comment