0
AppleScript ve Safari kullanarak e-postamı indirmek istiyorum. İşte benim kod:getElementById in Safari
tell application "Safari"
activate
make new document with properties {URL:"https://kundenkonto.mittelbayerische.de/frontend/login.php?service=http://epaper.mittelbayerische.de/edition-mbz/index2.jsp%3Flang%3Dde"}
delay 5
tell document 1
do JavaScript "document.getElementById('submit_btn').click()"
delay 5
do JavaScript "loadEditionPDF();"
end tell
end tell
Bu site Safari otomatik giriş kimlik bilgileri doldurur yükler, ama sonra durur "değeri eksik" ile "document.getElementById ('submit_btn')() tıklayın.".
Neyi yanlış yaptım?