Added browser start and kill function

This commit is contained in:
2024-06-02 22:31:11 +02:00
parent 8f402058ad
commit 7244a4ceaa
3 changed files with 48 additions and 13 deletions
+8
View File
@@ -132,6 +132,14 @@ async function refreshMonitor() {
const response = await fetch("/admin/refreshMonitor"); // Call API Endpoint /admin/timerStart
}
async function openBrowser() {
const response = await fetch("/admin/openBrowser"); // Call API Endpoint /admin/openBrowser
}
async function killBrowser() {
const response = await fetch("/admin/killBrowser"); // Call API Endpoint /admin/killBrowser
}
// ######################################################################################################################################################
// Timerfunctions
// ######################################################################################################################################################