Hi,
I use a lot TagUI (different from "TagIE") wich works in Chrome. It's a AI Singapor project open source (thanks to @Ken Soh), based on CasperJS, PhantomJS & SlimerJS, then very powerfull.
It simplify Headless language scripting for browsing in Chrome/Firefox, but you could also use it as "visible" browser.
TagUI auto-selects provided 'identifiers' in this order - xpath, css, id, name, class, title, aria-label, text(), href
I made an Editor in ahk to facilitate saving, insert snipets, execute and schedule tasks in this language. Normaly it's only in CLI throught powershell.
My Github repo of Tagui_Editor: Download the Editor in ahk or already compiled
Install first TagUI,: Download and install (if you need help, let me know)
Tutorial:: VIDEO How to install
I hope it could help!
NEXT:
- I will add scheduler to this tool
- also, trying to interact the both languages...
Known issue:
Folders name: put tagui files in folders without any spaces, like: C:\tagui\myfiles\
Chrome Automation with TagUI
Chrome Automation with TagUI
Last edited by adegard on 17 Dec 2018, 14:54, edited 6 times in total.
Re: Chrome Automation with TagUI
Thank you, more good stuff!
Regards,
burque505
Regards,
burque505
Re: Chrome Automation with TagUI
addet to wacht list ! thaks! i will try later
github>g_IntelliSense + next improvements + forum
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: Chrome Automation with TagUI
i got this error:
The command "tagui" is either misspelled or
could not be found.
Press any key . , ,
The command "tagui" is either misspelled or
could not be found.
Press any key . , ,
Code: Select all
https://google.com/
echo 'page url:' url()
echo 'uploade url . ' this.getCurrentUrl() + '\n'
write url() to urllist.txt
github>g_IntelliSense + next improvements + forum
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
ahk..org>onlineAHKprettyfy, ahk..com>Refactoring
ahk..com>newposts Unanswrd myposts, Donations are appreciated if I could help you
WARNING: copy your posts/messages before hitting Submit as you may lose them due to CAPTCHA
Re: Chrome Automation with TagUI
SL5 wrote: ↑14 Dec 2018, 14:36i got this error:
The command "tagui" is either misspelled or
could not be found.
Press any key . , ,Code: Select all
https://google.com/ echo 'page url:' url() echo 'uploade url . ' this.getCurrentUrl() + '\n' write url() to urllist.txt
You need to put Tagui in Path comand... ie if your tagui path is "C:\TagUI\tagui\src":
-First method: with Powershell adminitrator:
Code: Select all
[Environment]::SetEnvironmentVariable("TAGUI", "C:\TagUI\tagui\src", "User")
-Second method (easiest):
Enter this PATH: "C: \ tagui \ tagui \ src"
in the system environment variables and restart the computer
See also:https://www.youtube.com/watch?v=winFtZ39YSQ
If necessary, also enter the following folders in PATH: C: \ tagui \ tagui \ src \ phantomjs \ bin, C: \ tagui \ tagui \ src \ casperjs \ bin, C: \ tagui \ tagui \ src \ php
Re: Chrome Automation with TagUI
I just uploaded a new release with a "Schedule" Button, which creates directly routine in task scheduler of Windows....(for now:daily tasks, with batch files) let me know if there is some issues...
Re: Chrome Automation with TagUI
Known issue:
Error with Folder names with spaces:
To avoid it, put tagui files in folders without any spaces, like: C:\tagui\myfiles\
Error with Folder names with spaces:
To avoid it, put tagui files in folders without any spaces, like: C:\tagui\myfiles\
Re: Chrome Automation with TagUI
I keep getting this error
Re: Chrome Automation with TagUI
Hi @godofOOF, did you install TagUI first? See a video tutorial here: https://www.youtube.com/watch?v=winFtZ39YSQ
- Thoughtfu1Tux
- Posts: 125
- Joined: 31 May 2018, 23:26
Re: Chrome Automation with TagUI
Is is possibly to use this to automate Firefox? I've been using Selenium to automate Chrome for a while now but it doesn't support the modern version of Firefox.
Re: Chrome Automation with TagUI
Yes! You can use with Firefox if installed. Tagui will launch Slimerjs instead of capers.
Thoughtfu1Tux wrote: ↑25 Dec 2018, 02:57Is is possibly to use this to automate Firefox? I've been using Selenium to automate Chrome for a while now but it doesn't support the modern version of Firefox.
Re: Chrome Automation with TagUI
I love this script but is it possible to make tutorials on how to use it?
Its a little complicated and hard to use for me
EDIT::
Fixed the Error issue
Its a little complicated and hard to use for me
EDIT::
Fixed the Error issue
Re: Chrome Automation with TagUI
Intersting. Thanks for posting.
TagUI is a command line tool, no installation is needed, just download https://raw.githubusercontent.com/tebel ... indows.zip and unzip it to anywhere.
The usage is tagui flow_filename [options]
To see the list of options, run tagui without parameters:
Examples:
Say we have a flow file "1.txt":
Example 1: tagui 1.txt will run the flow file "1.txt" with the headless browser phantomjs.exe.
Example 2: tagui 1.txt chrome
TagUI is a command line tool, no installation is needed, just download https://raw.githubusercontent.com/tebel ... indows.zip and unzip it to anywhere.
The usage is tagui flow_filename [options]
To see the list of options, run tagui without parameters:
screenshot
Examples:
Say we have a flow file "1.txt":
Code: Select all
https://www.bing.com
type q as TagUI
click sb_form_go
Example 2: tagui 1.txt chrome
Last edited by tmplinshi on 04 Jan 2019, 12:35, edited 2 times in total.
Re: Chrome Automation with TagUI
Thanks @godofOOF, @tmplinshi
I wrote a little ebook on amazon (to protect copyrights) to explain installation, and simple examples of use... but, sorry the english translation is so bad...