key: others.switch_to_default
nhóm: OthersAction
hàm Client A13: switch_to_default
Quay về ngữ cảnh trang gốc sau khi đã vào iframe/popup. Quên bước này là nguyên nhân phổ biến khiến các action tiếp theo "không thấy phần tử".
Action này không có tham số riêng.
{
"version": "great-lotus-pyauto-v1",
"action": {
"key": "others.switch_to_default",
"group": "OthersAction",
"function": "switch_to_default"
},
"inputs": {},
"meta": {
"requestId": "<16 hex>",
"requestTopic": "WP2_PC176",
"responseTopic": "RES_WP2_PC176",
"waitForResponse": true,
"responseTimeoutSec": 60
}
}
Publish lên topic bạn nhập ở ô Topic; nếu bật Wait For Response, node chờ Client trả lời trên
RES_<topic> với đúng meta.requestId. return: "NG" ⇒ node ném lỗi.
Sinh tự động bởi tools/gen_doc_html.js từ ACTION_SPECS
(package n8n-nodes-c12_pyautogui_web@0.1.34)
· 2026-07-22 · Đừng sửa tay file này — sửa _notes/ hoặc source rồi chạy lại npm run doc:build.