{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/vi/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Trình duyệt đám mây","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":"trình-duyệt-đám-mây","__idx":0},"children":["Trình duyệt đám mây"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Khởi động, dừng, kết nối và quản lý môi trường trình duyệt đám mây theo cách lập trình thông qua API MoreLogin."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"tổng-quan","__idx":1},"children":["Tổng quan"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["API Trình duyệt đám mây chạy một cấu hình trình duyệt MoreLogin trên máy chủ từ xa. Sau khi khởi động môi trường, bạn có thể kết nối đến nó qua giao thức Chrome DevTools (CDP) và điều khiển bằng các framework tự động hóa như Puppeteer, Playwright hoặc Selenium."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Trình duyệt đám mây hỗ trợ hai phương thức truy cập API:"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Phương thức"},"children":["Phương thức"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Base URL"},"children":["Base URL"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Trường hợp sử dụng"},"children":["Trường hợp sử dụng"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API mở"]}," (từ xa)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.morelogin.com"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Truy cập từ mọi nơi, xác thực OAuth2"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API cục bộ"]}," (cục bộ)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["http://127.0.0.1:40000"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Truy cập từ máy đang chạy ứng dụng MoreLogin"]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Chọn ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API mở"]}," nếu bạn cần truy cập từ xa hoặc tích hợp giữa các máy chủ."," ","Chọn ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API cục bộ"]}," nếu bạn chạy tự động hóa trên cùng máy với ứng dụng MoreLogin."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Để biết chi tiết về xác thực, xem ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/vi/api-reference/getting-started/authentication"},"children":["Xác thực"]},"."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"khả-năng","__idx":2},"children":["Khả năng"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Thao tác"},"children":["Thao tác"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Mô tả"},"children":["Mô tả"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Khởi động"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Khởi động môi trường trình duyệt đám mây"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dừng"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Dừng môi trường đang chạy, có thể chọn buộc giải phóng"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Phân trang"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Truy vấn môi trường theo trang với bộ lọc theo tên, nhóm và từ khóa"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Kết nối"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Lấy địa chỉ CDP của môi trường đang chạy để kết nối công cụ tự động hóa"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"quy-trình-điển-hình","__idx":3},"children":["Quy trình điển hình"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Khởi động"]}," môi trường với ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["envId"]},". Môi trường chuyển sang trạng thái ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STARTING"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Truy vấn định kỳ"]}," danh sách phân trang cho đến khi ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cloudBrowserStatus"]}," là ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RUNNING"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Kết nối"]}," để lấy ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdpUrl"]},", sau đó kết nối Puppeteer / Playwright / Selenium qua CDP."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dừng"]}," môi trường khi hoàn tất tự động hóa."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"trạng-thái-môi-trường","__idx":4},"children":["Trạng thái môi trường"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Trạng thái"},"children":["Trạng thái"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Mô tả"},"children":["Mô tả"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["STARTING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Đang khởi động"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RUNNING"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Đang chạy"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["CLOSED"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Đã đóng"]}]}]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"thông-tin-kết-nối","__idx":5},"children":["Thông tin kết nối"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Endpoint kết nối trả về hai địa chỉ:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"code\": 0,\n  \"msg\": null,\n  \"data\": {\n    \"cdpUrl\": \"https://runtime1.morelogin.com:16167?token=c62fedaaac524e41a0f02fc4345d41cb\",\n    \"accessUrl\": \"https://official-website.morelogin.com/browser-remote?token=eyJkZXNrdG9wVXJsIjoi...ZW52SWQiOiIyMDczMzk1NDg5NzM4OTE5OTM2In0%3D&envName=P-1267&lang=en-US\"\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Trường"},"children":["Trường"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Mô tả"},"children":["Mô tả"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cdpUrl"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Endpoint CDP kèm ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["token"]}," truy cập. Truyền vào Puppeteer, Playwright hoặc Selenium."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accessUrl"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Trang máy tính từ xa trên nền web để xem và điều khiển phiên. Để trống nếu chưa được cấu hình."]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["token"]}," trong ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["accessUrl"]}," là payload mã hóa Base64 chứa URL máy tính, token máy tính, thời hạn cùng ID của nhóm, người dùng, thành viên và môi trường. Hãy coi cả hai URL là thông tin xác thực và không chia sẻ chúng."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"tài-liệu-tham-khảo-api","__idx":6},"children":["Tài liệu tham khảo API"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"API"},"children":["API"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Mô tả"},"children":["Mô tả"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/vi/api-reference/cloud-browser/open-api"},"children":["API mở Trình duyệt đám mây"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Truy cập từ xa qua ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://api.morelogin.com"]},", xác thực OAuth2"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/vi/api-reference/cloud-browser/local-api"},"children":["API cục bộ Trình duyệt đám mây"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Truy cập cục bộ qua ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["http://127.0.0.1:40000"]},", xác thực bằng token"]}]}]}]}]},{"$$mdtype":"Tag","name":"blockquote","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Lưu ý"]},": Cả hai API cung cấp các thao tác giống nhau. Đường dẫn API cục bộ dùng tiền tố ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/api/cloudbrowser/..."]},", còn đường dẫn API mở dùng ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/cloudbrowser/..."]},". Hãy luôn tham khảo tài liệu API tương ứng để biết đường dẫn và tham số chính xác."]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"hướng-dẫn-liên-quan","__idx":7},"children":["Hướng dẫn liên quan"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Hướng dẫn"},"children":["Hướng dẫn"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Mô tả"},"children":["Mô tả"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/vi/api-reference/getting-started/authentication"},"children":["Xác thực"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Thiết lập token OAuth2 (API mở) và xác thực bằng token (API cục bộ)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/vi/api-reference/getting-started/quickstart"},"children":["Bắt đầu nhanh"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Thực hiện lệnh gọi API MoreLogin đầu tiên của bạn"]}]}]}]}]}]},"headings":[{"value":"Trình duyệt đám mây","id":"trình-duyệt-đám-mây","depth":1},{"value":"Tổng quan","id":"tổng-quan","depth":2},{"value":"Khả năng","id":"khả-năng","depth":2},{"value":"Quy trình điển hình","id":"quy-trình-điển-hình","depth":2},{"value":"Trạng thái môi trường","id":"trạng-thái-môi-trường","depth":2},{"value":"Thông tin kết nối","id":"thông-tin-kết-nối","depth":2},{"value":"Tài liệu tham khảo API","id":"tài-liệu-tham-khảo-api","depth":2},{"value":"Hướng dẫn liên quan","id":"hướng-dẫn-liên-quan","depth":2}],"frontmatter":{"seo":{"title":"Trình duyệt đám mây"}},"lastModified":"2026-08-05T03:07:19.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/vi/api-reference/cloud-browser","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}