58 lines
1.1 KiB
JSON
58 lines
1.1 KiB
JSON
{
|
|
"schema": "freecad-web-manual/scenario/v1",
|
|
"chapter": "ch07",
|
|
"workflow": "file-tools",
|
|
"title": "file-tools",
|
|
"actions": [
|
|
{
|
|
"type": "goto",
|
|
"url": "/project.html"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1200
|
|
},
|
|
{
|
|
"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": 2000
|
|
},
|
|
{
|
|
"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": "wait",
|
|
"ms": 800
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "01-file-tools",
|
|
"fullPage": true
|
|
}
|
|
]
|
|
}
|