88 lines
1.6 KiB
JSON
88 lines
1.6 KiB
JSON
{
|
|
"schema": "freecad-web-manual/scenario/v1",
|
|
"chapter": "ch00",
|
|
"workflow": "start-opfs",
|
|
"title": "start-opfs",
|
|
"actions": [
|
|
{
|
|
"type": "goto",
|
|
"url": "/project.html"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1500
|
|
},
|
|
{
|
|
"type": "click",
|
|
"role": "button",
|
|
"name": "Start",
|
|
"exact": true
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 800
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "01-start-dialog"
|
|
},
|
|
{
|
|
"type": "eval",
|
|
"script": "document.querySelector('dialog[aria-label=\"Start dialog\"]')?.close()"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 300
|
|
},
|
|
{
|
|
"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": "02-file-tools",
|
|
"fullPage": true
|
|
}
|
|
]
|
|
}
|