-
Notifications
You must be signed in to change notification settings - Fork 585
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
Possible for Chrome extension to record actions in Gmail - no, and then how #924
Comments
Hi @lookang, the Chrome extension is built on another open-source project for recorder which cannot record frames. Web frames is a way of doing websites which will segment a webpage into different parts and then load and render them separately. TagUI supports the use of frames - https://tagui.readthedocs.io/en/latest/reference.html#frame However, to do it by inspecting which frame to use and which web element to refer to may take up too much effort, as compared to using visual automation method and keyboard shortcuts. For eg, you could map your mental process of opening the email and copying out the 2FA code, then do it directly using TagUI steps. You can make use of image snapshots as identifiers (including editing to remove areas of dynamic content and save as .png), (x,y) co-ordinates and keyboard shortcuts to navigate Gmail to copy out the 2FA code eg
Ping us when you run into any questions or issues! You could also join us at this week's Live Q&A and we could look at it together - #914 |
Video of more context on above recommendations - https://youtu.be/fLwOqK1y0uA?t=1254 |
@kensoh is there an example *.tag for visual " image snapshots as identifiers (including editing to remove areas of dynamic content and save as .png)," anyway, i manage to automate until the gmail identifying the XXXXXX 6 digits code for copying and pasting into the other website. below is the comments |
That's great! Using the Gmail example, consider the following image. Telling TagUI to use this to click on the first message on top will not work, because the content will be different every time and not result in a match. In the following image, the content is deleted and cleared away, before saving as .png file (which stores transparency info). This preserves the part of the image which TagUI will use to perform the match, while ignoring the content area. Using this will let TagUI click on the first match found from the top left of the screen and work. Note above image the content portion is not white, it is transparent. It is showing white because the GitHub page is white. Copying my team-mate @ruthtxh for info. |
@kensoh we used Xpath instead of OCR.
|
Wow, thank you for being an awesome user of the tool! Impressive stuffs you created here 😲 I have never ever come across someone using it this way for 2FA handling, brilliant haha. Copying my team-mate @ruthtxh on your dom + popup + gmail method to handle 2FA, |
Hi ken,
is it possible for the chrome-extension://egdllmehgfgjebhlkjmcnhiocfcidnjk/tagui.html to record in gmail actions?
i tried but the export only capture only one move
https://mail.google.com/mail/u/0/#inbox
the other actions are not recorded in text by the chrome-extension://egdllmehgfgjebhlkjmcnhiocfcidnjk/tagui.html
like
click email with title "notifications"
copy number 123456 depending on the latest email
the reason is i need to automate the 2 factor authentication sent to my gmail
The text was updated successfully, but these errors were encountered: