Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TagUI in TURBO mode at 20-30X faster in exchange for reliability - for some users #1034

Closed
kensoh opened this issue May 19, 2021 · 5 comments
Assignees
Labels

Comments

@kensoh
Copy link
Member

kensoh commented May 19, 2021

as above, below attached special version on request of some users

@kensoh kensoh changed the title Running TagUI in TURBO mode at 20-30X faster in exchange for reliability - for some users TagUI in TURBO mode at 20-30X faster in exchange for reliability - for some users May 19, 2021
@kensoh kensoh self-assigned this May 19, 2021
@kensoh kensoh added the feature label May 19, 2021
@kensoh
Copy link
Member Author

kensoh commented May 19, 2021

Download this zip file turbo_tagui.zip, unzip and copy the 2 files to overwrite what you have in tagui/src folder.

Websites and apps are not designed for superhuman speed. Using above will let TagUI's Chrome integration run at max speed, and also change the typing behaviour from character by character to all text at one go. This may cause website validation events to not trigger and work correctly. Running at max speed your laptop CPU will also become pretty hot.

Use at your own risk and backup your files beforehand!

PS - attached files are based on TagUI v6.21, and the hack target web applications. For a complete walkthrough of the hack and to also hack the speed for desktop apps using visual automation, see this tebelorg/RPA-Python#120 (comment)

@kensoh
Copy link
Member Author

kensoh commented May 19, 2021

Above turbo_tagui.zip will do both 1 and 2 below -

  1. run Chrome at max automation speed at 100% CPU
  2. type text instantly instead of character by character

Below are zip files for the 2 changes separately - (in case 1 of the hack breaks your automation)

  1. Turbo_Mode.zip - run Chrome at max automation speed at 100% CPU
  2. Instant_Typing.zip - type text instantly instead of character by character

@kensoh
Copy link
Member Author

kensoh commented May 25, 2021

Closing issue but feel free to post anything here

@kensoh kensoh closed this as completed May 25, 2021
@Flipsand
Copy link

Flipsand commented Aug 27, 2021

Hi @kensoh
I tried the different turbo files (above ZIP files) on windows. At start i got on error "ERROR - can't find variable: download_path" on 2 ZIP files i used.

Instant_Typing.zip was OK
Turbo_Mode.zip was not OK
turbo_tagui.zip was not OK

After comparing the files i found the part in the none turbo "tagui_header.js" file:

// to track download path if set by user using 'download to location' step
var download_path = '';

After i added this missing code snipet to the "turbo tagui_header.js" all went fine. So my question is if the missing code snipet was maybe accidentally deleted?

@kensoh
Copy link
Member Author

kensoh commented Aug 27, 2021

Hi @Flipsand the zip files here are outdated.

The line to enable and disable turbo mode for TagUI human language version is here -
#1093 (comment)

Also, I've just added turbo mode as an option officially for my personal project Python version -
tebelorg/RPA-Python#297

Next week, I'll be looking to add turbo mode officially for TagUI human language version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants