ADB xử lý shell; Appium xử lý UI (tap, swipe, mở app) trên cloud phone. Flow production: vendor API start pad → adb connect host:port → Appium với udid khớp endpoint.

Chi tiết EN: bản đầy đủ.

Stack

Cloud vendor API → start pad → adb connect
Appium 2 (worker VM) → UiAutomator2 → Python client
Xong job → driver.quit() → vendor stop pad

Cài đặt worker

npm install -g appium@next
appium driver install uiautomator2
pip install Appium-Python-Client

Capabilities mẫu

caps = {
    "platformName": "Android",
    "appium:automationName": "UiAutomator2",
    "appium:udid": "203.0.113.10:5555",
    "appium:noReset": True,
    "appium:appPackage": "com.zhiliaoapp.musically",  # TikTok
}

Wrapper Python (rút gọn)

def with_appium(endpoint: str, caps: dict, fn):
    adb_connect(endpoint)
    driver = webdriver.Remote(APPIUM, options=opts)
    try:
        fn(driver)
    finally:
        driver.quit()

Quy tắc anti-ban

Pair với Multilogin

Appium = lớp app native. TikTok Shop web, Shopee seller center = Multilogin — xem hybrid architecture (VI)TikTok Shop (VI).

Liên quan

Disclosure: MLX-MMO liên kết với Multilogin. Package name app thay đổi theo bản cập nhật — xác minh trước production. 70+ guides EN.