yilmaznaslan / berlin-auslaenderbehorde-termin-bot

A simple way to automate booking an appointment at Berlin Ausländerbehörde using java and selenium framework
https://yilmaznaslan.github.io/berlin-auslaenderbehorde-termin-bot/
GNU Affero General Public License v3.0
154 stars 60 forks source link

No notification sound on successful load #109

Open serboba opened 7 months ago

serboba commented 7 months ago

Hi, first of all thanks a lot for the great project.

With the current version there is an issue with the notification sound when the calendar page is opened, here are the logs:

...
2024-02-15 15:40:20 INFO Section2ServiceSelectionHandler Starting to sendForm
2024-02-15 15:40:25 INFO Section2ServiceSelectionHandler Form is sent
2024-02-15 15:40:25 INFO DriverUtils Waiting for the page to be loaded
2024-02-15 15:40:25 INFO DriverUtils Page is not loaded yet
2024-02-15 15:40:26 INFO DriverUtils Page is not loaded yet
2024-02-15 15:40:27 INFO DriverUtils Page is not loaded yet
2024-02-15 15:40:28 INFO DriverUtils Page is not loaded yet
2024-02-15 15:40:29 INFO DriverUtils Page is not loaded yet
2024-02-15 15:40:30 INFO DriverUtils Page is not loaded yet
2024-02-15 15:40:31 INFO DriverUtils Page is not loaded yet
2024-02-15 15:40:35 INFO DriverUtils Page is loaded
2024-02-15 15:40:35 INFO Section2ServiceSelectionHandler Starting to isDateSelectionOpened
2024-02-15 15:40:35 INFO Section2ServiceSelectionHandler Value of the ACTIVE_STEP is: 3Date selection
2024-02-15 15:40:35 INFO Section2ServiceSelectionHandler There is no error message
2024-02-15 15:40:35 INFO Section2ServiceSelectionHandler Calender page is opened and there is no alert
2024-02-15 15:40:35 INFO SlackNotifier Sending slack notification: https://otv.verwalt-berlin.de/ams/TerminBuchen/wizardng/91ffad7c-3421-4a44-b44b-5a45c96d3558?dswid=3307&dsrid=841
2024-02-15 15:40:35 INFO SlackNotifier Sending slack notification: {"text":"https://otv.verwalt-berlin.de/ams/TerminBuchen/wizardng/91ffad7c-3421-4a44-b44b-5a45c96d3558?dswid=3307&dsrid=841"}
2024-02-15 15:40:35 ERROR SlackNotifier Error while sending slack notification: Parameter specified as non-null is null: method okhttp3.Request$Builder.url, parameter url
2024-02-15 15:40:35 INFO TwilioNotifier Error while making call: Username can not be null
2024-02-15 15:40:35 INFO IoUtils File name :date_selection_success_2024-02-15_15:40:35.html, date_selection_success_2024-02-15_15:40:35.png
2024-02-15 15:40:35 INFO IoUtils Getting the page content
2024-02-15 15:40:36 INFO IoUtils Saving source code to file
2024-02-15 15:40:36 INFO IoUtils Saving screenshot
2024-02-15 15:40:38 INFO Main Appointments found

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 21m 40s
3 actionable tasks: 1 executed, 2 up-to-date

I'm running it on an Ubuntu 20.04 system and have also Slack installed. But no sound came out when the calendar page was opened as you can see in the logs.

Many thanks in advance.

halfpoundJ commented 2 months ago

Hi, did you fix it? I also have a similar problem. I’m running it on macOS. There is an alert sound, but the window does not pop up.