🎉 Added new documentation files and scripts for Screenshot Tool 📚 in backend/
This commit is contained in:
113
backend/scripts/screenshot_config.json
Normal file
113
backend/scripts/screenshot_config.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"server": {
|
||||
"base_url": "http://localhost:5000",
|
||||
"admin_email": "admin@example.com",
|
||||
"admin_password": "admin123"
|
||||
},
|
||||
"browser": {
|
||||
"type": "chrome",
|
||||
"headless": true,
|
||||
"page_load_timeout": 15,
|
||||
"element_wait_timeout": 10,
|
||||
"screenshot_delay": 2
|
||||
},
|
||||
"output": {
|
||||
"base_directory": "docs/schulung/screenshots",
|
||||
"include_timestamp": true,
|
||||
"create_subdirectories": true
|
||||
},
|
||||
"resolutions": {
|
||||
"desktop": {
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"description": "Standard Desktop-Auflösung"
|
||||
},
|
||||
"tablet": {
|
||||
"width": 1024,
|
||||
"height": 768,
|
||||
"description": "Tablet-Auflösung"
|
||||
},
|
||||
"mobile": {
|
||||
"width": 375,
|
||||
"height": 667,
|
||||
"description": "Mobile-Auflösung (iPhone)"
|
||||
},
|
||||
"large_desktop": {
|
||||
"width": 2560,
|
||||
"height": 1440,
|
||||
"description": "Große Desktop-Auflösung für 4K-Displays"
|
||||
}
|
||||
},
|
||||
"routes": {
|
||||
"include_patterns": [
|
||||
"/",
|
||||
"/dashboard",
|
||||
"/admin*",
|
||||
"/user/*",
|
||||
"/printers*",
|
||||
"/jobs*",
|
||||
"/stats*",
|
||||
"/reports*",
|
||||
"/maintenance*",
|
||||
"/guest*"
|
||||
],
|
||||
"exclude_patterns": [
|
||||
"/api/*",
|
||||
"/auth/api/*",
|
||||
"/static/*",
|
||||
"*/favicon.ico",
|
||||
"*/robots.txt",
|
||||
"*/sitemap.xml"
|
||||
],
|
||||
"custom_routes": [
|
||||
{
|
||||
"url": "/demo",
|
||||
"category": "benutzer",
|
||||
"description": "Komponenten-Demo-Seite"
|
||||
},
|
||||
{
|
||||
"url": "/socket-test",
|
||||
"category": "admin",
|
||||
"description": "WebSocket-Test-Seite"
|
||||
}
|
||||
]
|
||||
},
|
||||
"categories": {
|
||||
"admin": {
|
||||
"patterns": ["/admin", "/admin-dashboard", "/admin/*"],
|
||||
"description": "Administrator-Bereich"
|
||||
},
|
||||
"benutzer": {
|
||||
"patterns": ["/user/*", "/dashboard", "/printers", "/jobs", "/stats"],
|
||||
"description": "Allgemeiner Benutzerbereich"
|
||||
},
|
||||
"oeffentlich": {
|
||||
"patterns": ["/", "/guest", "/privacy", "/terms", "/imprint", "/legal"],
|
||||
"description": "Öffentlich zugängliche Seiten"
|
||||
},
|
||||
"berichte": {
|
||||
"patterns": ["/reports", "/stats"],
|
||||
"description": "Berichte und Statistiken"
|
||||
},
|
||||
"wartung": {
|
||||
"patterns": ["/maintenance"],
|
||||
"description": "Wartung und System-Tools"
|
||||
}
|
||||
},
|
||||
"advanced": {
|
||||
"take_full_page_screenshots": true,
|
||||
"wait_for_dynamic_content": true,
|
||||
"capture_hover_states": false,
|
||||
"include_browser_ui": false,
|
||||
"compress_images": false,
|
||||
"generate_thumbnails": true,
|
||||
"create_comparison_report": false
|
||||
},
|
||||
"schulung": {
|
||||
"create_presentation_slides": true,
|
||||
"generate_step_by_step_guide": true,
|
||||
"create_feature_overview": true,
|
||||
"include_annotations": false,
|
||||
"language": "de"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user