{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/vi/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Nhấp chuột bằng nhận dạng văn bản (OCR)","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"nhấp-chuột-bằng-nhận-dạng-văn-bản-ocr","__idx":0},"children":["Nhấp chuột bằng nhận dạng văn bản (OCR)"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["RPA cung cấp 3 cách để mô phỏng thao tác nhấp chuột:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/vi/rparobotic-process-automation/03-node/01-simulation-operations/04-tap-element"},"children":["Tap Element"]},": Xác định vị trí và nhấp vào phần tử hiện tại thông qua các phần tử DOM của cây giao diện người dùng."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/vi/rparobotic-process-automation/03-node/01-simulation-operations/05-tap-x-y"},"children":["Tap(x, y)"]},": Xác định vị trí nhấp chuột thông qua tọa độ trục X và Y của màn hình hiện tại."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/vi/rparobotic-process-automation/03-node/01-simulation-operations/06-click-via-ocr"},"children":["Click via text recognition (OCR)"]},": Nhấp chuột bằng cách nhận dạng vị trí văn bản trên màn hình hiện tại."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Phần sau đây mô tả chi tiết chức năng Nhấp chuột bằng nhận dạng văn bản (OCR)."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"tham-số","__idx":1},"children":["Tham số"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Nhập văn bản khớp"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Bạn có thể nhập văn bản trực tiếp trên màn hình."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Khi có nhiều đối tượng khớp trên trang"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lấy một phần tử duy nhất"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lấy danh sách phần tử"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Nhấp chuột sau khi khớp đối tượng"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Bật: Nhấp chuột sau khi tìm thấy phần tử"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tắt: Chỉ tìm thấy phần tử"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Vị trí nhấp chuột"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Điểm trung tâm"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Điểm ngẫu nhiên trong vùng đối tượng khớp"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tùy chỉnh"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Khoảng cách so với điểm trung tâm"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Bạn có thể điều chỉnh vị trí nhấp chuột bằng giá trị khoảng cách so với điểm trung tâm của phần tử. - ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Loại chạm"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Chạm một lần"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Chạm hai lần"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Nhấn giữ"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Thời gian chờ sau khi tìm thấy phần tử"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"kết-quả","__idx":2},"children":["Kết quả"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"tham-số-kết-quả","__idx":3},"children":["Tham số kết quả"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Vùng văn bản: { \"chiều cao\": 30, \"trái\": 343, \"chiều rộng\": 142, \"trên\": 332, \"trung tâm Y\": 347, \"trung tâm X\": 414, \"dưới\": 362, \"phải\": 485 }"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"giải-thích-trường-kết-quả","__idx":4},"children":["Giải thích trường kết quả"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| khóa | Giải thích |"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| :------ | :------------------------------------------------- |"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| chiều cao | Chiều cao của phần tử |"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| chiều rộng | Chiều rộng của phần tử |"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| trên | Tọa độ trục Y của đỉnh phần tử |"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| trái | Tọa độ trục X của cạnh trái phần tử |"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| dưới | Tọa độ trục Y của đáy phần tử |"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| phải | Tọa độ trục X của cạnh phải phần tử |"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| centerY | Tọa độ trục Y của tâm phần tử |"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["| centerX | Tọa độ trục X của tâm phần tử |"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"nhật-ký-thực-thi","__idx":5},"children":["Nhật ký thực thi"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Thời gian bắt đầu"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Thời gian kết thúc"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Thời lượng (ms)"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Trạng thái (Thành công/Thất bại)"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ví-dụ","__idx":6},"children":["Ví dụ"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ví dụ, trên màn hình chính của điện thoại đám mây, giả sử bạn nhấp vào trình duyệt Chrome."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"cấu-hình-như-sau","__idx":7},"children":["Cấu hình như sau:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Nhập văn bản khớp"]},": \"Chrome\""]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Khi có nhiều đối tượng khớp trên trang"]},": \"Lấy một phần tử\""]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Nhấp chuột sau khi khớp đối tượng"]},": \"Bật\""]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Vị trí nhấp chuột"]},": \"Điểm giữa\""]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Loại chạm"]},": \"Chạm một lần\""]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Độ trễ sau khi tìm thấy phần tử"]},": \"0\""]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"tham-số-đầu-ra-trong-kết-quả","__idx":8},"children":["\"Tham số đầu ra\" trong Kết quả:"]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Vùng văn bản: { \"chiều cao\": 30, \"trái\": 343, \"chiều rộng\": 142, \"trên\": 332, \"trung tâm Y\": 347, \"trung tâm X\": 414, \"dưới\": 362, \"phải\": 485 }"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"các-nút-liên-quan","__idx":9},"children":["Các nút liên quan"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Chạm vào phần tử"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Chạy tập lệnh JS"]}]},"headings":[{"value":"Nhấp chuột bằng nhận dạng văn bản (OCR)","id":"nhấp-chuột-bằng-nhận-dạng-văn-bản-ocr","depth":1},{"value":"Tham số","id":"tham-số","depth":2},{"value":"Kết quả","id":"kết-quả","depth":2},{"value":"Tham số kết quả","id":"tham-số-kết-quả","depth":3},{"value":"Giải thích trường kết quả","id":"giải-thích-trường-kết-quả","depth":4},{"value":"Nhật ký thực thi","id":"nhật-ký-thực-thi","depth":3},{"value":"Ví dụ","id":"ví-dụ","depth":2},{"value":"Cấu hình như sau:","id":"cấu-hình-như-sau","depth":3},{"value":"\"Tham số đầu ra\" trong Kết quả:","id":"tham-số-đầu-ra-trong-kết-quả","depth":3},{"value":"Các nút liên quan","id":"các-nút-liên-quan","depth":2}],"frontmatter":{"seo":{"title":"Nhấp chuột bằng nhận dạng văn bản (OCR)"}},"lastModified":"2026-06-10T11:47:34.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/vi/rparobotic-process-automation/03-node/01-simulation-operations/06-click-via-ocr","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}