neopostmodern / wohnungsbot

Der Wohnungsbot — die Anwendung zum 2. Akt ("Das Versprechen des Bots") des Automatisierungsdramas in drei Akten "Von einem der auszog eine Wohnung in Berlin zu finden" von Clemens Schöll
https://wohnungsbot.de
GNU Affero General Public License v3.0
151 stars 27 forks source link

Assert element existence to get useful logs when selectors change #198

Open neopostmodern opened 6 months ago

neopostmodern commented 6 months ago

To make a bug like #195 more apparent after #116 + #197 are merged it would be very useful to insert assertions that check if elements that are known to exist are really there and otherwise output something useful to the log. At trace level it could even log all assertions.