59 lines
1.2 KiB
JSON
59 lines
1.2 KiB
JSON
{
|
|
"schema": "freecad-web-manual/scenario/v1",
|
|
"chapter": "ch06",
|
|
"workflow": "spreadsheet-measure",
|
|
"title": "spreadsheet-measure",
|
|
"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": "select",
|
|
"selector": "select[aria-label=\"Workbench\"]",
|
|
"label": "Spreadsheet"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 800
|
|
},
|
|
{
|
|
"type": "click",
|
|
"selector": "button:has-text(\"Create spreadsheet\")"
|
|
},
|
|
{
|
|
"type": "wait",
|
|
"ms": 1500
|
|
},
|
|
{
|
|
"type": "shot",
|
|
"name": "01-spreadsheet",
|
|
"fullPage": true
|
|
}
|
|
]
|
|
}
|