{ "schema": "freecad-web-manual/scenario/v1", "chapter": "ch07", "workflow": "file-tools", "title": "file-tools", "actions": [ { "type": "goto", "url": "/project.html" }, { "type": "waitFor", "selector": "select[aria-label=\"Workbench\"]" }, { "type": "wait", "ms": 1500 }, { "type": "click", "selector": "nav[aria-label=\"Application menus\"] details", "hasText": "File", "target": ":scope > summary" }, { "type": "click", "role": "button", "name": "新建 Document", "exact": true }, { "type": "wait", "ms": 2500 }, { "type": "eval", "script": "for (const d of document.querySelectorAll('nav[aria-label=\"Application menus\"] details[open]')) d.open = false" }, { "type": "click", "selector": "nav[aria-label=\"Application menus\"] details", "hasText": "File", "target": ":scope > summary" }, { "type": "click", "role": "button", "name": "Open / import / export", "exact": true }, { "type": "waitFor", "selector": "details.file-tools" }, { "type": "wait", "ms": 1200 }, { "type": "shot", "name": "01-file-tools", "fullPage": true }, { "type": "eval", "script": "const d = document.querySelector('.file-tools'); if (d) d.open = true;" }, { "type": "wait", "ms": 900 }, { "type": "shot", "name": "02-import-export-panel", "selector": "details.file-tools" }, { "type": "goto", "url": "/project.html" }, { "type": "waitFor", "selector": "select[aria-label=\"Workbench\"]" }, { "type": "wait", "ms": 1200 }, { "type": "select", "selector": "select[aria-label=\"Workbench\"]", "label": "Import" }, { "type": "wait", "ms": 1500 }, { "type": "shot", "name": "03-import-workbench", "fullPage": true } ] }