You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. Frequently Asked Questions
  2. =============================
  3. How is TagUI licensed?
  4. -------------------------
  5. TagUI is a free, open-source, cross-platform software released under the Apache 2.0 license.
  6. .. _find-xpath:
  7. How do I find the XPath of a web element?
  8. ---------------------------------------------
  9. In Chrome/Edge, right-click on the element, click Inspect, right-click on the highlighted HTML, then:
  10. .. image:: ./_static/find_xpath.png
  11. For some web pages, the XPath of an element can change. To combat this, you can find a stable element in the web page and writing a custom XPath relative to that stable element.
  12. XPath is very powerful and can allow you to select web elements in many ways. Learn more about XPath at `W3Schools <https://www.w3schools.com/xml/xpath_intro.asp>`_. Alternatively, check out `SelectorsHub Chrome extension <https://chrome.google.com/webstore/detail/selectorshub/ndgimibanhlabgdgjcpbbndiehljcpfh?hl=en>`_ tool.
  13. .. _element_attributes:
  14. How do I find the id, name, class or other attributes of a web element?
  15. ----------------------------------------------------------------------------
  16. In Chrome/Edge, right-click on the element, click Inspect. There will be some highlighted HTML, like this:
  17. .. image:: ./_static/element_attributes.png
  18. This highlighted element has a ``class`` attribute of "chat-line__body". It doesn't have any ``id`` or ``name`` attribute
  19. .. _how-to-use-command-prompt:
  20. How do I use the Command Prompt?
  21. ----------------------------------------
  22. Hold the Windows key and press R. Then type ``cmd`` and press Enter to enter the Command Prompt.
  23. From here, you can run a command by typing it and pressing Enter.
  24. .. _how-to-use-terminal:
  25. How do I use the Terminal?
  26. ----------------------------------------
  27. Hold Command and press spacebar, then type ``terminal`` and press Enter.
  28. From here, you can run a command by typing it and pressing Enter.
  29. .. _what-are-csv-files:
  30. What are csv files?
  31. -------------------------------------------------
  32. CSV files are files which stores data in a table form. They can be opened with Microsoft Excel and Google Sheets. Each line is a row of values. The values are split into different columns by commas ``,``, which is why CSV stands for Comma Separated Values.
  33. .. _run-on-schedule:
  34. Running flows on a fixed schedule
  35. --------------------------------------
  36. It is often useful to run flows automatically on a fixed schedule: monthly, weekly, daily or even every 5 minutes.
  37. On Windows, `use the Task Scheduler <https://www.digitalcitizen.life/how-create-task-basic-task-wizard>`_.
  38. .. raw:: html
  39. <video playsinline autoplay muted loop width="100%">
  40. <source src="./_static/schedule-a-flow.mp4" type="video/mp4">
  41. Your browser does not support the video tag.
  42. </video>
  43. |
  44. On macOS / Linux, `use crontab command <https://www.ostechnix.com/a-beginners-guide-to-cron-jobs/>`_.
  45. How do I kill any unfinished TagUI processes?
  46. -----------------------------------------------
  47. If you Ctrl+C to break a TagUI automation, you can use ``tagui/src/end_processes`` (for macOS / Linux) or ``end_processes.cmd`` (for Windows) to kill any dead processes of TagUI integrations (Chrome, Edge, SikuliX, Python etc).
  48. Why doesn't TagUI work on zoom levels other than 100%?
  49. -------------------------------------------------------------
  50. TagUI mimics the user mouse-clicks at the (x,y) coordinates of web elements, so using a different zoom level for your web browser will cause clicks to be triggered at wrong coordinates. Make sure TagUI's Chrome/Edge browser is set to 100% zoom for best results.
  51. Is TagUI safe and secure to use?
  52. --------------------------------
  53. As TagUI and the foundation it's built on is open-source software, it means users can read the source code of TagUI and all its dependencies to check if there is a security flaw or malicious code. This is an advantage compared to using commercial software that is closed-source, as users cannot see what is the code behind the software.
  54. Following are links to the source code for TagUI and its open-source dependencies. You can dig through the source code for the other open-source dependencies below, or make the fair assumption that security issues would have been spotted by users and fixed, as these projects are mature and have large user bases.
  55. - TagUI - https://github.com/kelaberetiv/TagUI
  56. - SikuliX - https://github.com/RaiMan/SikuliX1
  57. - CasperJS - https://github.com/casperjs/casperjs
  58. - PhantomJS - https://github.com/ariya/phantomjs
  59. - SlimerJS - https://github.com/laurentj/slimerjs
  60. - Python - https://github.com/python/cpython
  61. - R - https://github.com/wch/r-source
  62. - PHP - https://github.com/php/php-src
  63. See this section on why TagUI has enterprise security by design - https://github.com/kelaberetiv/TagUI#enterprise-security-by-design
  64. Does TagUI track what I automate?
  65. ---------------------------------------
  66. No. TagUI does not send outgoing web traffic or outgoing data, other than what the user is automating on, for example visiting a website.
  67. .. _visual-automation-troubleshooting:
  68. Why doesn’t my visual automation work?
  69. ----------------------------------------
  70. On macOS, it may be due to `how the image was captured <https://github.com/kelaberetiv/TagUI/issues/240#issuecomment-863112988>`_.
  71. On Linux, you may need to `set up OpenCV and Tesseract <https://sikulix-2014.readthedocs.io/en/latest/newslinux.html#version-1-1-4-special-for-linux-people>`_.