Here I have an auto-login script and an HTML script for the main Dashboard page
My Script Auto Login :
const username = "test";
const password = "test";
const webView = new WebView();
await webView.loadURL("https://e-absensi.rsudrsoetomo.jatimprov.go.id/absensi/public/login");
webView.evaluateJavaScript(`
document.getElementById("nomorindukpegawai").value = "${username}";
document.getElementById("LoginForm_password").value = "${password}";
document.getElementById("login-button").click();
`);
webView.present();```
Script HTML After Login :
[text](https://controlc.com/4d73b4b0)
I want to add a feature to the script I created to perform the action of selecting the ‘Attendance option’ on the dropdown menu on that page and continuing the automatic click action on check-in. This script that I created is run on the Scriptable iOS app on an iPhone XS, can you help me create this script?